updated
This commit is contained in:
parent
c7190e4648
commit
7c8477d568
@ -134,8 +134,8 @@ Summary: Clamav scanner daemon
|
||||
Group: System Environment/Daemons
|
||||
BuildArch: noarch
|
||||
Requires: init(clamav-scanner)
|
||||
Provides: user(%scanuser) = 99
|
||||
Provides: group(%scanuser) = 99
|
||||
Provides: user(%scanuser) = 49
|
||||
Provides: group(%scanuser) = 49
|
||||
Requires: clamav-server = %version-%release
|
||||
|
||||
%package scanner-sysvinit
|
||||
|
@ -51,7 +51,7 @@ start () {
|
||||
|
||||
stop () {
|
||||
echo -n $"Stopping $prog: "
|
||||
killproc $procname
|
||||
killproc -p ${CLAMD_PIDFILE} $procname
|
||||
RETVAL=$?
|
||||
echo
|
||||
[ $RETVAL -eq 0 ] && rm -f $lockfile
|
||||
@ -79,7 +79,7 @@ case "$1" in
|
||||
start|stop|restart|reload)
|
||||
$1 ;;
|
||||
status)
|
||||
status $procname ;;
|
||||
status -p ${CLAMD_PIDFILE} $procname ;;
|
||||
condrestart)
|
||||
test ! -f $lockfile || restart
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user