On Sun, 29 Jun 2008 18:17:13 +0500 Stepan Golosunov wrote: [...] > I also noticed that acpid is stopped every Sunday. > /etc/logrotate.d/acpid contains > > /var/log/acpid { > weekly > rotate 4 > compress > missingok > postrotate > pkill -SIGUSR1 acpid > /dev/null || true > endscript > }
Thanks for commenting! I hadn't thought to look at the logrotate configuration! Maybe that SIGUSR1 should be SIGHUP instead, if I read /etc/init.d/acpid correctly (the reload case invokes "start-stop-daemon --stop --signal 1 --exec /usr/sbin/acpid" which sends a HUP signal to the daemon, if I understand correctly)... -- http://frx.netsons.org/doc/index.html#nanodocs The nano-document series is here! ..................................................... Francesco Poli . GnuPG key fpr == C979 F34B 27CE 5CD8 DC12 31B5 78F4 279B DD6D FCF4
pgpgxo2tEi40A.pgp
Description: PGP signature