Index: fedora/SOURCES/slimserver.logrotate =================================================================== --- fedora/SOURCES/slimserver.logrotate (revision 25535) +++ fedora/SOURCES/slimserver.logrotate (working copy) @@ -1,8 +1,14 @@ -/var/log/slimserver/*.log { +/var/log/slimserver/server.log { missingok notifempty sharedscripts postrotate - /etc/init.d/slimserver condrestart >/dev/null 2>&1 || true + /bin/kill -USR1 `cat /var/run/squeezecenter.pid >/dev/null 2>&1` >/dev/null 2>&1 || true endscript } + +/var/log/squeezecenter/scanner.log { + missingok + notifempty + sharedscripts +} \ No newline at end of file Index: debian/squeezecenter.logrotate =================================================================== --- debian/squeezecenter.logrotate (revision 25535) +++ debian/squeezecenter.logrotate (working copy) @@ -4,14 +4,11 @@ size 200k compress missingok - prerotate - invoke-rc.d squeezecenter stop >/dev/null || true - endscript postrotate # Only starts SqueezeCenter if it is supposed to # run in the current run-level - invoke-rc.d squeezecenter start >/dev/null || true + /bin/kill -USR1 `cat /var/run/squeezecenter.pid 2>/dev/null` 2>/dev/null || : endscript } @@ -21,13 +18,4 @@ size 200k compress missingok - prerotate - invoke-rc.d squeezecenter stop >/dev/null || true - endscript - - postrotate - # Only starts SqueezeCenter if it is supposed to - # run in the current run-level - invoke-rc.d squeezecenter start >/dev/null || true - endscript } Index: readynas/squeezecenter.logrotate =================================================================== --- readynas/squeezecenter.logrotate (revision 25535) +++ readynas/squeezecenter.logrotate (working copy) @@ -4,14 +4,11 @@ size 200k compress missingok - prerotate - invoke-rc.d squeezecenter stop || true - endscript postrotate # Only starts SqueezeCenter if it is supposed to # run in the current run-level - invoke-rc.d squeezecenter start || true + /bin/kill -USR1 `cat /var/run/squeezecenter.pid 2>/dev/null` 2>/dev/null || : endscript } @@ -21,13 +18,4 @@ size 200k compress missingok - prerotate - invoke-rc.d squeezecenter stop || true - endscript - - postrotate - # Only starts SqueezeCenter if it is supposed to - # run in the current run-level - invoke-rc.d squeezecenter start || true - endscript } Index: redhat/squeezecenter.logrotate =================================================================== --- redhat/squeezecenter.logrotate (revision 25535) +++ redhat/squeezecenter.logrotate (working copy) @@ -1,8 +1,14 @@ -/var/log/squeezecenter/*.log { +/var/log/squeezecenter/server.log { missingok notifempty sharedscripts postrotate - /etc/init.d/squeezecenter condrestart >/dev/null 2>&1 || true + /bin/kill -USR1 `cat /var/run/squeezecenter.pid >/dev/null 2>&1` >/dev/null 2>&1 || true endscript } + +/var/log/squeezecenter/scanner.log { + missingok + notifempty + sharedscripts +} \ No newline at end of file