valence/doc/source/init/valence-api.conf
Ananth Narayan S 73f0c411c2 Set the correct PYTHON_HOME api and controller path.
Installer script detects the python install path and modifies the
PYTHON_HOME variable in the conf files. Executable paths modified
to reflect location on the system (/usr/local/bin).

Change-Id: Ib24711d1256bc70b03813076b3709faa46fd7ce1
Closes-Bug: #1633403
2016-10-20 12:52:57 +05:30

16 lines
318 B
Plaintext

description "Valence API 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-api \
--exec /usr/local/bin/valence-api -- \
--log-file=/var/log/valence/valence-api.log
respawn