]> git.pld-linux.org Git - packages/fetchmail.git/blobdiff - fetchmail.logrotate
- Restart using rc script. Fetchmail does not reopen it's log after SIGHUP.
[packages/fetchmail.git] / fetchmail.logrotate
index 38bdd696fb67e337733b5d5c763d1aa9c82e96f9..220571dcc6ee5bcebe340789216edb7992b78b26 100644 (file)
@@ -1,5 +1,5 @@
-/var/log/messages {
+/var/log/fetchmail {
     postrotate
-       /usr/bin/killall -HUP fetchmaild || :
+       /etc/rc.d/init.d/fetchmail restart >/dev/null 2>&1
     endscript
 }
This page took 0.040241 seconds and 4 git commands to generate.