1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/security/drweb/files/patch-ac
Sergey Matveychuk a14f47fdc4 - Update to 4.32.2
- Pass maintainer to submitter

PR:		ports/72510
Submitted by:	maintainer
2004-11-24 18:14:11 +00:00

30 lines
910 B
Plaintext

--- usr/local/etc/rc.d/00.drwebd.sh.orig Wed Nov 24 13:50:18 2004
+++ usr/local/etc/rc.d/00.drwebd.sh Wed Nov 24 13:51:57 2004
@@ -7,21 +7,21 @@
case "$1" in
stop)
echo -n "Shutting down Dr. Web daemon..."
- kill `cat /var/drweb/run/drwebd.pid | head -1`
+ kill `cat %INSTALL%/run/drwebd.pid | head -1`
;;
reload)
echo -n "Reloading Dr. Web daemon..."
- kill -HUP `cat /var/drweb/run/drwebd.pid | head -1`
+ kill -HUP `cat %INSTALL%/run/drwebd.pid | head -1`
;;
restart)
echo -n "Restarting Dr. Web daemon..."
- kill `cat /var/drweb/run/drwebd.pid | head -1`
+ kill `cat %INSTALL%/run/drwebd.pid | head -1`
sleep 1
- /usr/local/drweb/drwebd
+ %INSTALL%/drwebd -ini=%INSTALL%/drweb32.ini
;;
start)
echo -n "Starting Dr. Web daemon..."
- /usr/local/drweb/drwebd
+ %INSTALL%/drwebd -ini=%INSTALL%/drweb32.ini
;;
*)
echo $0: 'start|stop|restart|reload'