Tweak pkill invocation.

This commit is contained in:
ajacoutot 2015-07-20 19:55:58 +00:00
parent ad5b9d14a3
commit 8cc209a614
2 changed files with 4 additions and 4 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.85 2015/07/15 13:54:55 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.86 2015/07/20 19:55:58 ajacoutot Exp $
COMMENT= anonymity service using onion routing
DISTNAME= tor-0.2.6.10
CATEGORIES= net
HOMEPAGE= https://www.torproject.org/
REVISION= 0
REVISION= 1
MAINTAINER= Pascal Stumpf <Pascal.Stumpf@cubes.de>

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $OpenBSD: tor.rc,v 1.4 2015/07/15 13:54:55 ajacoutot Exp $
# $OpenBSD: tor.rc,v 1.5 2015/07/20 19:55:58 ajacoutot Exp $
daemon="${TRUEPREFIX}/bin/tor"
daemon_timeout=60
@ -8,7 +8,7 @@ daemon_timeout=60
. /etc/rc.d/rc.subr
rc_stop() {
pkill -INT -xf "^${pexp}"
pkill -INT -xf "${pexp}"
}
rc_cmd $1