
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
16 lines
318 B
Plaintext
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
|
|
|