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.sh15
1 files changed, 12 insertions, 3 deletions
diff --git a/myrpki/run-daemons.sh b/myrpki/run-daemons.sh
index 0eb93c8e..325742b4 100644
--- a/myrpki/run-daemons.sh
+++ b/myrpki/run-daemons.sh
@@ -10,10 +10,19 @@ then
else
- screen python ../rpkid/irdbd.py
- screen python ../rpkid/rpkid.py
- screen python ../rpkid/pubd.py
+ #screen python ../rpkid/irdbd.py
+ #screen python ../rpkid/rpkid.py
+ #screen python ../rpkid/pubd.py
+ python ../rpkid/irdbd.py &
+ python ../rpkid/rpkid.py &
+ python ../rpkid/pubd.py &
+
#if test -n "$*"; then sleep 5; "$@"; fi
+ # Apparently Control-C-ing out of this kills the daemons, which is
+ # what we want but was a surprise to me. Probably SIGHUP effect due
+ # to running under screen, or something like that.
+ wait
+
fi