diff options
Diffstat (limited to 'system/clamsmtp/rc.clamsmtpd')
-rw-r--r-- | system/clamsmtp/rc.clamsmtpd | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/system/clamsmtp/rc.clamsmtpd b/system/clamsmtp/rc.clamsmtpd index b4ec58edf9..e71651d104 100644 --- a/system/clamsmtp/rc.clamsmtpd +++ b/system/clamsmtp/rc.clamsmtpd @@ -1,14 +1,14 @@ #!/bin/sh +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA # /etc/rc.d/rc.clamsmtpd -# Start/stop/restart clamsmtp mail filter daemon +# start/stop/restart clamsmtp mail filter daemon + +# To make clamsmtp start automatically at boot, make this +# file executable: chmod 755 /etc/rc.d/rc.clamsmtpd +# to edit the startup options refer man 8 clamsmtpd -# To make ntpd start automatically at boot, make this file executable: -# chmod 755 /etc/rc.d/rc.clamsmtpd -# and be sure it's called from somewhere (e.g. rc.local) -# -# To edit the startup options refer man 8 clamsmtpd CONFIG="/etc/clamsmtpd.conf" PIDFILE="/var/run/clamav/clamsmtpd.pid" @@ -25,7 +25,7 @@ clamsmtpd_start() { clamsmtpd_stop() { if [ -f $PIDFILE ]; then echo "Stopping clamsmtp daemon" - /bin/kill $(cat $PIDFILE) 2> /dev/null + kill -s 15 $(cat $PIDFILE) 2> /dev/null else echo "/usr/sbin/clamsmtpd doesn't seem to be running...exiting" exit 1 |