summaryrefslogtreecommitdiff
path: root/etc/rc.d
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2016-02-07 20:56:49 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2016-02-07 20:56:49 +0000
commit294f3224260ca0423335b2f38fe97142a7c2190c (patch)
treeee3bc1317643dc60cdcbc1d8b482a6fa5a85c5d1 /etc/rc.d
parentb8792fa94f1dd1e3e1dd3e71e5cba28ca19847df (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@, missed in previous commit, problem reported by mxb/alumni/chalmers/se.
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/bgpd4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/rc.d/bgpd b/etc/rc.d/bgpd
index cb78ce58550..dd0c956caaf 100644
--- a/etc/rc.d/bgpd
+++ b/etc/rc.d/bgpd
@@ -1,13 +1,11 @@
#!/bin/sh
#
-# $OpenBSD: bgpd,v 1.2 2015/12/19 13:45:12 ajacoutot Exp $
+# $OpenBSD: bgpd,v 1.3 2016/02/07 20:56:48 sthen Exp $
daemon="/usr/sbin/bgpd"
. /etc/rc.d/rc.subr
-pexp="bgpd: parent.*"
-
# child will not return a config parsing error to the parent
rc_pre() {
${daemon} -n ${daemon_flags}