@@ -169,7 +169,7 @@
echo -n "Starting amavis-stats "
## Start daemon with startproc(8). If this fails
## the return value is set appropriately by startproc.
- /sbin/startproc $AMAVISSTATS_BIN $AMAVISSTATS_OPTIONS
+ $AMAVISSTATS_BIN $AMAVISSTATS_OPTIONS start
# Remember status and be verbose
rc_status -v
@@ -179,7 +179,7 @@
## Stop daemon with killproc(8) and if this fails
## killproc sets the return value according to LSB.
- /sbin/killproc -TERM $AMAVISSTATS_BIN
+ $AMAVISSTATS_BIN stop
# Remember status and be verbose
rc_status -v
@@ -217,7 +217,7 @@
echo -n "Reload service amavis-stats "
## if it supports it:
- /sbin/killproc -HUP $AMAVISSTATS_BIN
+ $AMAVISSTATS_BIN reload
#touch /var/run/amavis-stats.pid
rc_status -v
@@ -231,7 +231,7 @@
# If it supports signaling:
echo -n "Reload service amavis-stats "
- /sbin/killproc -HUP $AMAVISSTATS_BIN
+ $AMAVISSTATS_BIN reload
#touch /var/run/amavis-stats.pid
rc_status -v
|