diff options
| author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2020-02-12 22:00:05 +0000 |
|---|---|---|
| committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2020-02-12 22:00:05 +0000 |
| commit | 3061e545ae1e586350196dc3821ee7ac0690f3a0 (patch) | |
| tree | 20edd44870c7ee033bd772c09a4dfef64397f38d | |
| parent | www/pecl-http: Enabled for php74 (diff) | |
security/munge: Fix rc script
PR: 243917
Submitted by: chris.m.dunlap@gmail.com
Notes
Notes:
svn path=/head/; revision=525976
| -rw-r--r-- | security/munge/Makefile | 1 | ||||
| -rw-r--r-- | security/munge/files/munged.in | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/security/munge/Makefile b/security/munge/Makefile index d91733903d77..c53989bccecc 100644 --- a/security/munge/Makefile +++ b/security/munge/Makefile @@ -4,6 +4,7 @@ PORTNAME= munge PORTVERSION= 0.5.14 DISTVERSIONPREFIX= ${PORTNAME}- +PORTREVISION= 1 CATEGORIES= security MAINTAINER= bofh@FreeBSD.org diff --git a/security/munge/files/munged.in b/security/munge/files/munged.in index 4c908664fe7d..7e1abec2941b 100644 --- a/security/munge/files/munged.in +++ b/security/munge/files/munged.in @@ -32,9 +32,7 @@ command_args="--key-file=${munged_keyfile}" munged_stop() { if [ -f "${pidfile}" ]; then - kill -9 `cat ${pidfile}` - sleep 1 # wait a little bit - rm -f /var/run/munge/* + kill `cat ${pidfile}` fi } |
