This may not be suitable for the developer's list. Sorry.
I am logging netatalk to /var/log/netatalk.log. I would like to use logrotate
to rotate the logs, but I'm wary of restarting the netatalk daemons as our
backup system will then not be able to access to shares, or a running backup
will be interrupted.
I'm thinking of something like this:
create 644 root adm
if [ -f /var/run/afpd.pid ]; then \
if [ -x /usr/sbin/invoke-rc.d ]; then \
invoke-rc.d netatalk reload > /dev/null; \
/etc/init.d/netatalk reload > /dev/null; \
Any thoughts? I suppose I could just log through syslogd.