aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/apnic-poke-1.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/apnic-poke-1.sh b/scripts/apnic-poke-1.sh
index ff6796a7..b200d366 100644
--- a/scripts/apnic-poke-1.sh
+++ b/scripts/apnic-poke-1.sh
@@ -29,11 +29,11 @@ mysql -u rpki -p`awk '$1 == "sql-password" {print $3}' rpkid.conf` rpki <../docs
# Clear out any old publication results
-rm -rf publication
+rm -rf publication/*
# Start rpkid so we can configure it, make sure we shut it down on exit
-python rpkid.py >rpkid.log 2>&1 & rpkid=$!
+python rpkid.py >>rpkid.log 2>&1 & rpkid=$!
trap "kill $rpkid" 0 1 2 3 13 15
# Create a self instance
@@ -67,8 +67,8 @@ python irbe-cli.py child --self_id 1 --action create --bsc_id 1 --cms_ta biz-cer
# Run the other daemons, arrange for everything to go away on shutdown,
# run initial cron job to set things up, then wait
-python testroot.py >testroot.log 2>&1 & testroot=$!
-python irdb.py >irdb.log 2>&1 & irdb=$!
+python testroot.py >>testroot.log 2>&1 & testroot=$!
+python irdb.py >>irdb.log 2>&1 & irdb=$!
trap "kill $rpkid $irdb $testroot" 0 1 2 3 13 15
python http-client.py