[CentOS] logrotate.d - reload vs restart
Frank Cox
theatre at sasktel.netMon Dec 27 18:01:49 UTC 2010
- Previous message: [CentOS] what process is sending this packet?
- Next message: [CentOS] logrotate.d - reload vs restart
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Looking at some of the stuff in /etc/logrotate.d, I see entries like this in
some of the configuration files:
postrotate
/sbin/service privoxy reload 2> /dev/null || true
>From the commandline, that doesn't work:
# /sbin/service privoxy reload 2> /dev/null || true
Usage: /etc/init.d/privoxy {start|stop|restart}
Changing reload to restart does work:
]# /sbin/service privoxy restart 2> /dev/null || true
Stopping Privoxy, OK.
Starting Privoxy, OK.
I find "reload" in the httpd logrotate file as well:
postrotate
/sbin/service httpd reload > /dev/null 2>/dev/null || true
What am I failing to understand?
--
MELVILLE THEATRE ~ Melville Sask ~ www.melvilletheatre.com
www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!
- Previous message: [CentOS] what process is sending this packet?
- Next message: [CentOS] logrotate.d - reload vs restart
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list