]> git.pld-linux.org Git - packages/dspam.git/blobdiff - dspam.init
- more fixes
[packages/dspam.git] / dspam.init
index 7e5ddaccac78c9a796d28f2249326f5b6fd1e007..800d42ee58c8c34a19cf774e680d0d24f5946268 100644 (file)
@@ -10,9 +10,6 @@
 # Source function library
 . /etc/rc.d/init.d/functions
 
-# Get network config
-. /etc/sysconfig/network
-
 # Get service config
 [ -f /etc/sysconfig/dspam ] && . /etc/sysconfig/dspam
 
@@ -23,7 +20,7 @@ case "$1" in
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/dspam ]; then
                msg_starting dspam
-               daemon --fork /usr/bin/dspam --daemon
+               daemon --fork --user mail /usr/bin/dspam --daemon
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/dspam
        else
This page took 0.096377 seconds and 4 git commands to generate.