diff -r 02a68ec7a075 -r c5e64d076826 net-im/xib-bot/files/xib-bot.initd --- a/net-im/xib-bot/files/xib-bot.initd Mon Dec 09 14:41:26 2013 +0100 +++ b/net-im/xib-bot/files/xib-bot.initd Mon Dec 09 14:52:24 2013 +0100 @@ -4,8 +4,9 @@ # $Header: $ PIDFILE=${PIDFILE:=/var/run/xib-bot.pid} -CONF=${CONF:=/usr/share/xib-bot/config.xml} +CONF=${CONF:=/etc/xib-bot/config.xml} LOGFILE=${LOGFILE:=/var/log/xib-bot.log} +STARTFILE={STARTFILE:=/usr/lib/python2.7/site-package/xib-bot/start_bots_from_xml_config.py} depend() { need net @@ -13,7 +14,7 @@ start() { ebegin "Starting ${SVCNAME}" - start-stop-daemon --start --exec /usr/share/xib-bot/start_bots_from_xml_config.py \ + start-stop-daemon --start --exec "$STARTFILE" \ -1 ${LOGFILE} -2 ${LOGFILE} \ -m --pidfile "${PIDFILE}" -b -- "${CONF}" eend $? @@ -21,7 +22,7 @@ stop() { ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --exec /usr/share/xib-bot/start_bots_from_xml_config.py \ + start-stop-daemon --stop --exec "$STARTFILE" \ --pidfile "${PIDFILE}" }