diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 18:39:00 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 18:39:00 +0000 |
commit | 41970a7c2c16088568c16a22f0e66f996080cf9a (patch) | |
tree | 864e202dee2173fb10bba3874522be4e14437d10 /main/samba/samba.logrotate | |
parent | 689d64cdc3736bb3e965f5b0181b1db77c7d3240 (diff) | |
download | aports-41970a7c2c16088568c16a22f0e66f996080cf9a.tar.bz2 aports-41970a7c2c16088568c16a22f0e66f996080cf9a.tar.xz |
main/samba: add logrotate script
fixes #81
Diffstat (limited to 'main/samba/samba.logrotate')
-rw-r--r-- | main/samba/samba.logrotate | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/main/samba/samba.logrotate b/main/samba/samba.logrotate new file mode 100644 index 000000000..bf957bd74 --- /dev/null +++ b/main/samba/samba.logrotate @@ -0,0 +1,9 @@ +/var/log/samba/log.* /var/log/samba/*.log { + notifempty + missingok + sharedscripts + copytruncate + postrotate + /bin/kill -HUP `cat /var/run/samba/*.pid 2>/dev/null` 2>/dev/null || true + endscript +} |