aboutsummaryrefslogtreecommitdiff
path: root/myrpki/run-daemons.sh
diff options
context:
space:
mode:
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