#!/bin/sh
### BEGIN INIT INFO
# Provides: cassiopeia
-# Required-Start: $local_fs $network $remote_fs $syslog mysql
-# Required-Stop: $local_fs $network $remote_fs $syslog mysql
+# Required-Start: $local_fs $network $remote_fs $syslog
+# Required-Stop: $local_fs $network $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: <Enter a short description of the software>
# PATH should only include /usr/* if it runs after the mountnfs.sh script
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="cacert's signer software"
-NAME=cassiopeia
+NAME=cacert-cassiopeia
DAEMON=/usr/bin/cassiopeia
DAEMON_ARGS=
PIDFILE=/var/run/$NAME.pid
# Read configuration variable file if it is present
[ -r /etc/default/$NAME ] && . /etc/default/$NAME
+if [ "$START_DAEMON" = "0" ]; then
+ echo "Not starting $NAME (as configured in /etc/default/$NAME)";
+ exit 0;
+fi
# Load the VERBOSE setting and other rcS variables
. /lib/init/vars.sh
#
do_start()
{
- if [ ! -f /var/lib/cacert-gigi/config.txt ]; then
+ if [ ! -f /etc/cacert/cassiopeia/cassiopeia.conf ]; then
echo Missing cassiopeia-configfile
exit 2
fi