# Provides: bacula
# Required-Start: network mysql
# Required-Stop:
-# Default-Start: 2 3 5
+# Default-Start: 3 5
# Default-Stop:
# Description: run bacula daemon(s)
### END INIT INFO
if [ -f ${PIDDIR}/$base.$2.pid ] ; then
pid=`head -1 ${PIDDIR}/$base.$2.pid`
if [ "$pid" != "" ] ; then
- echo "$base dead but pid file exists"
+ echo "$base not running, but pid file exists"
return 1
fi
fi
# See if the subsys lock exists
if [ -f ${SUBSYSDIR}/$base ] ; then
- echo "$base dead but subsys locked"
+ echo "$base not running, but subsys locked"
return 2
fi
echo "$base is stopped"