Revision 07f17d0c
Added by Marcello de Sousa about 13 years ago
- ID 07f17d0c24c0e15caeee3846401d10e22bd77a89
extras/spec/logrotate | ||
---|---|---|
compress
|
||
daily
|
||
postrotate
|
||
[ -e /etc/init.d/foreman ] && /etc/init.d/foreman restart >/dev/null 2>&1 || true
|
||
[ -e /etc/init.d/foreman ] && /etc/init.d/foreman condrestart >/dev/null 2>&1 || true
|
||
endscript
|
||
}
|
Also available in: Unified diff
Fixes #791 - Added a "condrestart" to the RPM init script and logrotate.
Signed-off-by: Marcello de Sousa <foreman-dev@area151.com>