From 5db44cbbae1952d066de5c50480dd5a46dba92c8 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 13 Dec 2020 11:56:43 -0500 Subject: /etc/init.d/*: Use s-s-d -x not -p --- (limited to 'src.etc/init.d/httpd') diff --git a/src.etc/init.d/httpd b/src.etc/init.d/httpd index 2ebd361..796ccd3 100755 --- a/src.etc/init.d/httpd +++ b/src.etc/init.d/httpd @@ -6,12 +6,11 @@ STOP='60' start() { log 'Starting HTTP daemon' - start-stop-daemon -S -q -p /var/run/httpd.pid -m \ - -x /usr/sbin/httpd -b -- -f -h /var/www + start-stop-daemon -S -q -x /usr/sbin/httpd -b -- -f -h /var/www } stop() { log 'Stopping HTTP daemon' - start-stop-daemon -K -q -p /var/run/httpd.pid + start-stop-daemon -K -q -x /usr/sbin/httpd } -- cgit v0.9.1