Browse Source

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 noticed after re-checking following report in bgpd.
OPENBSD_5_9
sthen 8 years ago
parent
commit
0e7c097131
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/etc/rc.d/dvmrpd

+ 1
- 2
src/etc/rc.d/dvmrpd View File

@ -1,12 +1,11 @@
#!/bin/sh #!/bin/sh
# #
# $OpenBSD: dvmrpd,v 1.2 2013/06/04 12:27:29 sthen Exp $
# $OpenBSD: dvmrpd,v 1.3 2016/02/07 21:00:16 sthen Exp $
daemon="/usr/sbin/dvmrpd" daemon="/usr/sbin/dvmrpd"
. /etc/rc.d/rc.subr . /etc/rc.d/rc.subr
pexp="dvmrpd: parent.*"
rc_reload=NO rc_reload=NO
rc_cmd $1 rc_cmd $1

Loading…
Cancel
Save