On 05/10/2011 04:03 PM, Alexey Shabalin wrote:
Hello!

Our logrotate after finish run script syslog-reload (detect syslog
daemon - sysklogd or syslog-ng or rsyslog, and run service foo reload)
But some services do not support reload, for example rsyslog.
In init.d/rsyslog i can add reload=restart
Very necessary add option to foo.service like
Reload=Restart
or
ExecReload=Restart


Why dont you just tell your script to restart rsyslog instead of reloading it?

JBG
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to