From e96fb723bfab0c360e657b8d8bdca326cc9fa356 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sat, 10 Nov 2018 13:02:43 +0000 Subject: sys-auth/munge: Update init Signed-off-by: Justin Lecher Package-Manager: Portage-2.3.51, Repoman-2.3.11 --- sys-auth/munge/files/munged.initd | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys-auth') 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 ${?} } -- cgit v1.2.3-65-gdbad