Skip to content
Snippets Groups Projects
Commit 4a0239a3 authored by Jonathan's avatar Jonathan Committed by GitHub
Browse files

Merge pull request #42 from paulseward/logrotate_fix

test for the existance of the pidfile before trying to HUP the daemon
parents a83e5fab 6255c6d6
No related branches found
No related tags found
No related merge requests found
...@@ -56,5 +56,5 @@ ...@@ -56,5 +56,5 @@
} }
lastrotate 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 endscript
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment