]> git.pld-linux.org Git - packages/fetchmail.git/blobdiff - fetchmail.init
- Reads configuration from /etc/fetchmailrc instead of ~/.fetchmailrc.
[packages/fetchmail.git] / fetchmail.init
index c44ac92c35a4d024e5459d0a59856ad6cc9b85ff..38bd7a918fb9b908366cbe3b4ef0ffe4dbf783f8 100644 (file)
@@ -31,7 +31,7 @@ case "$1" in
   start)
        if [ ! -f /var/lock/subsys/fetchmail ]; then
                msg_starting "fetchmail"
-               daemon fetchmail
+               daemon fetchmail -f /etc/fetchmailrc
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/fetchmail
        else
@@ -40,7 +40,7 @@ case "$1" in
        fi
         ;;
   stop)
-       if [ -f /var/lock/subsys/syslogd ]; then
+       if [ -f /var/lock/subsys/fetchmail ]; then
                msg_stopping "fetchmail"
                killproc fetchmail
                rm -f /var/lock/subsys/fetchmail >/dev/null 2>&1
This page took 0.065317 seconds and 4 git commands to generate.