b19420fd04
Currently the service startup files are placed in doc folder. Moving the same to etc for better maintenance of all the conf files. Change-Id: I16be81b161263d7f2c446fd31cf92170f1091f60
15 lines
260 B
Plaintext
15 lines
260 B
Plaintext
description "Valence server"
|
|
|
|
start on runlevel [2345]
|
|
stop on runlevel [!2345]
|
|
|
|
env PYTHON_HOME=PYHOME
|
|
|
|
# change the chuid to match yours
|
|
exec start-stop-daemon --start --verbose --chuid ${CHUID} \
|
|
--name valence \
|
|
--exec $PYTHON_HOME/valence -- \
|
|
|
|
respawn
|
|
|