Added start / stop scripts

This commit is contained in:
Mark Liebrand 2016-10-24 16:11:22 +02:00
parent b9c2a13854
commit de9edcb07e
2 changed files with 12 additions and 0 deletions

6
UdpPipe/udppipe<head>.sh Normal file
View File

@ -0,0 +1,6 @@
# sample start/stop script for head (commands are start/stop/restart)
# copy to head host and rename it to udppipe.sh
# pid file is by default /tmp/udppipe.pid
# log file is by default /tmp/udppipe.log
export PYTHONPATH=.
python eu/liebrand/udppipe/__init__.py $1 -H

6
UdpPipe/udppipe<tail>.sh Normal file
View File

@ -0,0 +1,6 @@
# sample start/stop script for head (commands are start/stop/restart)
# copy to head host and rename it to udppipe.sh
# pid file is by default /tmp/udppipe.pid
# log file is by default /tmp/udppipe.log
export PYTHONPATH=.
python eu/liebrand/udppipe/__init__.py $1 -T