summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/munge/Makefile1
-rw-r--r--security/munge/files/munged.in4
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
}