]> 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 3a7f90607f9c0873639345ee69f72fd712519a5e..220571dcc6ee5bcebe340789216edb7992b78b26 100644 (file)
@@ -1,5 +1,5 @@
 /var/log/fetchmail {
     postrotate
-       /bin/killall -HUP fetchmaild || :
+       /etc/rc.d/init.d/fetchmail restart >/dev/null 2>&1
     endscript
 }
This page took 0.037236 seconds and 4 git commands to generate.