summaryrefslogtreecommitdiff
path: root/etc/rc.d/httpd
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2016-02-02 17:51:12 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2016-02-02 17:51:12 +0000
commit848453065448cd57923a6f38a376e35ad6ee353b (patch)
treee6bf2757c3fa584b9212a43bab80aa68518f9d9b /etc/rc.d/httpd
parent73d06a140f51dde0e67ada4c2e533f9a68730e16 (diff)
Remove setproctitle() for the parent process. Because rc.d(8) uses process
titles (including flags) to distinguish between daemons, this makes it possible to manage multiple copies of a daemon using the normal infrastructure by symlinking rc.d scripts to a new name. ok jung@ ajacoutot@, smtpd ok gilles@
Diffstat (limited to 'etc/rc.d/httpd')
-rw-r--r--etc/rc.d/httpd4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/rc.d/httpd b/etc/rc.d/httpd
index 50be23675d5..3bfc63c1760 100644
--- a/etc/rc.d/httpd
+++ b/etc/rc.d/httpd
@@ -1,13 +1,11 @@
#!/bin/sh
#
-# $OpenBSD: httpd,v 1.4 2015/12/19 13:45:12 ajacoutot Exp $
+# $OpenBSD: httpd,v 1.5 2016/02/02 17:51:11 sthen Exp $
daemon="/usr/sbin/httpd"
. /etc/rc.d/rc.subr
-pexp="httpd: parent.*"
-
# child will not return a config parsing error to the parent
rc_pre() {
${daemon} -n ${daemon_flags}