diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-21 07:15:49 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-08-21 07:15:49 +0000 |
commit | c95c7923ee7150cc152ab8ed72544eded4cfdff4 (patch) | |
tree | 7d30dd8882921abf29e4c68510623065cefda6c2 /main/dansguardian/dansguardian.logrotate | |
parent | 600c274d15c2a5124895c771b1e962693267b8ae (diff) | |
download | aports-c95c7923ee7150cc152ab8ed72544eded4cfdff4.tar.bz2 aports-c95c7923ee7150cc152ab8ed72544eded4cfdff4.tar.xz |
main/dansguardian: provide a logrotate script
fixes #84
Diffstat (limited to 'main/dansguardian/dansguardian.logrotate')
-rw-r--r-- | main/dansguardian/dansguardian.logrotate | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/main/dansguardian/dansguardian.logrotate b/main/dansguardian/dansguardian.logrotate new file mode 100644 index 0000000000..001d955450 --- /dev/null +++ b/main/dansguardian/dansguardian.logrotate @@ -0,0 +1,15 @@ +/var/log/dansguardian/*.log { + rotate 4 + weekly + missingok + notifempty + nocreate + nocopy + nocopytruncate + compress + + postrotate + /usr/sbin/dansguardian -r + endscript +} + |