You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logrotate script does not restart mamonsu because it checks for pid file before restart, but it's missing due to mamonsu does not create one by default.
Logrotate script does not restart mamonsu because it checks for pid file before restart, but it's missing due to mamonsu does not create one by default.
# cat /etc/logrotate.d/mamonsu
/var/log/mamonsu/agent.log {
daily
rotate 7
compress
missingok
notifempty
create 0640 mamonsu mamonsu
sharedscripts
postrotate
[ -e /var/run/mamonsu/mamonsu.pid ] && /etc/init.d/mamonsu restart >/dev/null
endscript
}
#
# find / -name mamonsu.pid
#
The text was updated successfully, but these errors were encountered: