diff options
Diffstat (limited to 'src.etc/init.d/httpd')
-rwxr-xr-x | src.etc/init.d/httpd | 5 |
1 files changed, 2 insertions, 3 deletions
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 } |