diff -r 5992b254421e -r 0cb2ee2d7365 net-im/xib-bot/files/xib-bot.initd --- a/net-im/xib-bot/files/xib-bot.initd Fri Nov 08 15:27:28 2013 +0100 +++ b/net-im/xib-bot/files/xib-bot.initd Sat Nov 16 23:18:08 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}" }