]> WPIA git - cassiopeia.git/blobdiff - debian/wpia-cassiopeia.init
chg: rename package name and all references to it
[cassiopeia.git] / debian / wpia-cassiopeia.init
similarity index 95%
rename from debian/cacert-cassiopeia.init
rename to debian/wpia-cassiopeia.init
index b9b7ebaf160cbd999f5c9a89a661701d67d1e7db..8edc24550f2be317933940a46f97e7a9359cd0d1 100644 (file)
 #                    <...>
 ### END INIT INFO
 
-# Author: CAcert Software Team <cacert-devel@cacert.org>
+# Author: WPIA Software Team <software@wpia.club>
 
 # Do NOT "set -e"
 
 # 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=cacert-cassiopeia
+DESC="wpia's signer software"
+NAME=wpia-cassiopeia
 DAEMON=/usr/bin/cassiopeia
 DAEMON_ARGS=
 PIDFILE=/var/run/$NAME.pid
 SCRIPTNAME=/etc/init.d/$NAME
-DIR=/var/lib/cacert-gigi
+DIR=/var/lib/wpia-gigi
 
 # Exit if the package is not installed
 [ -x "$DAEMON" ] || exit 0
@@ -48,7 +48,7 @@ fi
 #
 do_start()
 {
-       if [ ! -f /etc/cacert/cassiopeia/cassiopeia.conf ]; then
+       if [ ! -f /etc/wpia/cassiopeia/cassiopeia.conf ]; then
                echo Missing cassiopeia-configfile
                 exit 2
         fi
@@ -59,7 +59,7 @@ do_start()
         start-stop-daemon -b --start --quiet --pidfile $PIDFILE -d $DIR --exec $DAEMON --test > /dev/null \
                || return 1
        start-stop-daemon -b --start --quiet --pidfile $PIDFILE --make-pidfile -d $DIR -c nobody --exec $DAEMON --no-close -- \
-               >> /var/log/cacert-cassiopeia.log 2>&1 \
+               >> /var/log/wpia-cassiopeia.log 2>&1 \
                || return 2
        # The above code will not work for interpreted scripts, use the next
        # six lines below instead (Ref: #643337, start-stop-daemon(8) )