summaryrefslogtreecommitdiffstats
path: root/src.etc/init.d/httpd
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-12-13 11:56:43 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-12-13 11:56:43 (EST)
commit5db44cbbae1952d066de5c50480dd5a46dba92c8 (patch)
tree33af6781aa32fc3f01cc01ab31275eb5b9db3c67 /src.etc/init.d/httpd
parentcb515640b7da5d6120b8045af7d48763850ea1a1 (diff)
/etc/init.d/*: Use s-s-d -x not -p
Diffstat (limited to 'src.etc/init.d/httpd')
-rwxr-xr-xsrc.etc/init.d/httpd5
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
}