fix: [launcher] cd in subshell

pull/3/head
Jean-Louis Huynen 2019-05-28 07:49:37 +02:00
parent 52982891b9
commit d85e4422c9
No known key found for this signature in database
GPG Key ID: 64799157F4BD6B93
1 changed files with 4 additions and 4 deletions

View File

@ -12,8 +12,8 @@ fi
screen -dmS "pdns"
sleep 0.1
screen -S "pdns" -X screen -t "pdns-lookup-redis" bash -c "(/home/d4/analyzer-d4-passivedns/redis/src/redis-server /home/d4/analyzer-d4-passivedns/etc/redis.conf; read x;)"
screen -S "pdns" -X screen -t "pdns-ingester" bash -c ${ENV_PY}' ./bin/pdns-ingestion.py;'
screen -S "pdns" -X screen -t "pdns-cof" bash -c ${ENV_PY}' ./bin/pdns-cof-server.py;'
screen -S "pdns" -X screen -t "pdns-lookup-redis" bash -c "(/home/d4/analyzer-d4-passivedns/redis/src/redis-server /home/d4/analyzer-d4-passivedns/etc/redis.conf); read x;"
screen -S "pdns" -X screen -t "pdns-cof" bash -c "(cd bin; ${ENV_PY} ./pdns-cof-server.py; read x;)"
screen -S "pdns" -X screen -t "pdns-ingester" bash -c "(cd bin; ${ENV_PY} ./pdns-ingestion.py; read x;)"
exit 0
exit 0