aboutsummaryrefslogtreecommitdiff
path: root/myrpki/run-daemons.sh
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2009-07-04 20:14:29 +0000
committerRob Austein <sra@hactrn.net>2009-07-04 20:14:29 +0000
commit255b252f3461470925f2ad58eadc75b07885dffa (patch)
tree39e56b196c311f352ea3a39e3524dda540a8a1d0 /myrpki/run-daemons.sh
parent6462e03109be39a7e6e82ba5c49874d4652b5810 (diff)
Start teaching myirbe.py to do rpkid object setup.
svn path=/myrpki/myirbe.py; revision=2572
Diffstat (limited to 'myrpki/run-daemons.sh')
-rw-r--r--myrpki/run-daemons.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/myrpki/run-daemons.sh b/myrpki/run-daemons.sh
new file mode 100644
index 00000000..0eb93c8e
--- /dev/null
+++ b/myrpki/run-daemons.sh
@@ -0,0 +1,19 @@
+#!/bin/sh -
+# $Id$
+
+set -x
+
+if test -z "$STY"
+then
+
+ exec screen -L sh $0 ${1+"$@"}
+
+else
+
+ screen python ../rpkid/irdbd.py
+ screen python ../rpkid/rpkid.py
+ screen python ../rpkid/pubd.py
+
+ #if test -n "$*"; then sleep 5; "$@"; fi
+
+fi