summaryrefslogtreecommitdiff
path: root/etc/rc.d/ldpd
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/ldpd
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/ldpd')
-rw-r--r--etc/rc.d/ldpd4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/rc.d/ldpd b/etc/rc.d/ldpd
index 9ea10b42864..b043b1c3f85 100644
--- a/etc/rc.d/ldpd
+++ b/etc/rc.d/ldpd
@@ -1,11 +1,9 @@
#!/bin/sh
#
-# $OpenBSD: ldpd,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: ldpd,v 1.2 2016/02/02 17:51:11 sthen Exp $
daemon="/usr/sbin/ldpd"
. /etc/rc.d/rc.subr
-pexp="ldpd: parent.*"
-
rc_cmd $1