summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/munge')
-rw-r--r--sys-auth/munge/files/munged.initd7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys-auth/munge/files/munged.initd b/sys-auth/munge/files/munged.initd
index 6bb0a1097f25..0cbbe7213a93 100644
--- a/sys-auth/munge/files/munged.initd
+++ b/sys-auth/munge/files/munged.initd
@@ -22,15 +22,16 @@ start() {
eerror "Failed to create munge key"
eend 1 && exit 1
fi
- checkpath -d -m 755 -o munge:munge /var/run/munge
+ checkpath -d -m 755 -o munge:munge /run/munge
checkpath -d -m 711 -o munge:munge /var/lib/munge
checkpath -d -m 700 -o munge:munge /var/log/munge
checkpath -f -m 600 -o munge:munge "${KEYFILE}"
start-stop-daemon -S /usr/sbin/munged \
--user munge \
--group munge \
- --pidfile /var/run/munge/munged.pid \
+ --pidfile /run/munge/munged.pid \
-- \
+ --log-file=/var/log/munge/munged.log \
--key-file="${KEYFILE}" \
--group-check-mtime="${GROUP_CHECK_MTIME}" \
--group-update-time="${GROUP_UPDATE_TIME}" \
@@ -41,7 +42,7 @@ start() {
stop() {
ebegin "Stopping munged"
start-stop-daemon -K /usr/sbin/munged \
- --pidfile /var/run/munge/munged.pid
+ --pidfile /run/munge/munged.pid
eend ${?}
}