summaryrefslogtreecommitdiff
path: root/res/debian
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-04-15 01:22:59 +0300
committerLV-426 <lv-426@taproot.org.il>2015-04-15 01:23:13 +0300
commite4cb12029dc326d1bd1f01594825e7595986b0db (patch)
tree87123ee421a1cf453eebbb9c2d4339a6e3194c50 /res/debian
parenteb983d3d10dbc73820892fc7a73049b118338b2c (diff)
rhizi.init: set DAEMON=/usr/bin/python2.7, avoid need to chmod +x rz_server
Diffstat (limited to 'res/debian')
-rw-r--r--res/debian/rhizi.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/debian/rhizi.init b/res/debian/rhizi.init
index 785840aa..70c697dc 100644
--- a/res/debian/rhizi.init
+++ b/res/debian/rhizi.init
@@ -15,13 +15,13 @@
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="rhizi-server"
NAME=rhizi
-DAEMON=/srv/www/rhizi/rhizi.net/bin/rz_server.py
+DAEMON=/usr/bin/python2.7
PIDFILE=/var/run/$NAME/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME
USERNAME=www-data
GROUPNAME=www-data
-ARGS__DAEMON="--config-dir=/etc/rhizi"
+ARGS__DAEMON="/srv/www/rhizi/rhizi.net/bin/rz_server.py --config-dir=/etc/rhizi"
ARGS__START_STOP_DAEMON="--make-pidfile --background --chuid ${USERNAME}:${GROUPNAME}"
# Exit if the package is not installed