Skip to content
Snippets Groups Projects
Commit 6255c6d6 authored by Paul Seward's avatar Paul Seward
Browse files

test for the existance of the pidfile before trying to HUP the daemon, takes...

test for the existance of the pidfile before trying to HUP the daemon, takes care of the situation where the daemon isn't running and logrotate tries to rotate the logfiles
parent a83e5fab
Branches
Tags
No related merge requests found
......@@ -56,5 +56,5 @@
}
lastrotate
kill -HUP `cat /var/run/radiusd/radiusd.pid`
if [ -e /var/run/radiusd/radiusd.pid ] then; kill -HUP `cat /var/run/radiusd/radiusd.pid`; fi;
endscript
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment