equal
deleted
inserted
replaced
8 # Default-Stop: 0 1 6 |
8 # Default-Stop: 0 1 6 |
9 # Short-Description: IRC BOT mcbot |
9 # Short-Description: IRC BOT mcbot |
10 # Description: IRC BOT mcbot |
10 # Description: IRC BOT mcbot |
11 ### END INIT INFO |
11 ### END INIT INFO |
12 |
12 |
13 RUNAS="nobody" |
13 RUNAS="mcbot" |
14 BINARY="mcbot" |
14 BINARY="mcbot" |
15 DIRECTORY="/usr/sbin/" |
15 DIRECTORY="/usr/sbin/" |
16 LANGUAGE="de_DE.UTF-8" |
16 LANGUAGE="de_DE.UTF-8" |
17 PARAMETER="" |
17 PARAMETER="" |
18 LOGFILE="/var/lib/nobody/mcbot-`date \"+%d-%m-%y\"`.log" |
18 LOGFILE="/var/lib/mcbot/mcbot-`date \"+%d-%m-%y\"`.log" |
19 |
19 |
20 [[ ! -x "${DIRECTORY}/${BINARY}" ]] && exit 0 |
20 [[ ! -x "${DIRECTORY}/${BINARY}" ]] && exit 0 |
21 |
21 |
22 start() { |
22 start() { |
23 echo -n " * Starting ${BINARY}" |
23 echo -n " * Starting ${BINARY}" |