tweak pexp again, some setups don't result in a process with "master" in the proctitle

This commit is contained in:
sthen 2018-06-01 17:06:21 +00:00
parent 114b1e4413
commit cc037a2a5f
2 changed files with 4 additions and 3 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.61 2018/05/29 13:54:05 sthen Exp $
# $OpenBSD: Makefile,v 1.62 2018/06/01 17:06:21 sthen Exp $
COMMENT= manage remote serial consoles via TCP/IP
V= 8.2.2
REVISION= 0
DISTNAME= conserver-$V
CATEGORIES= comms

View File

@ -1,6 +1,6 @@
#!/bin/ksh
#
# $OpenBSD: conserver.rc,v 1.9 2018/05/22 14:57:44 sthen Exp $
# $OpenBSD: conserver.rc,v 1.10 2018/06/01 17:06:21 sthen Exp $
daemon="${TRUEPREFIX}/sbin/conserver -d"
daemon_flags="-n"
@ -8,7 +8,7 @@ daemon_user="_conserver"
. /etc/rc.d/rc.subr
pexp="(${daemon}${daemon_flags:+ ${daemon_flags}}|conserver: master.*)"
pexp="(${daemon}${daemon_flags:+ ${daemon_flags}}|conserver: .*)"
rc_pre() {
install -d -o _conserver /var/run/conserver