diff options
author | Daniel Baumann <daniel@debian.org> | 2010-03-07 12:07:54 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:04 +0100 |
commit | cbef9a5a0aa68d46b6a707e3a77dd940ff24bb50 (patch) | |
tree | 0b045c6dff2454afd63f186ab0033f78828f512a /cgi | |
parent | 666abf55827559d216bf9f15230b9975b7a147fd (diff) | |
download | live-build-cbef9a5a0aa68d46b6a707e3a77dd940ff24bb50.zip live-build-cbef9a5a0aa68d46b6a707e3a77dd940ff24bb50.tar.gz |
Shuffeling cgi files arround.
Diffstat (limited to 'cgi')
-rw-r--r-- | cgi/crontab | 7 | ||||
-rw-r--r-- | cgi/logrotate | 11 |
2 files changed, 18 insertions, 0 deletions
diff --git a/cgi/crontab b/cgi/crontab new file mode 100644 index 0000000..0cb78a3 --- /dev/null +++ b/cgi/crontab @@ -0,0 +1,7 @@ +# /etc/crontab - system-wide crontab + +SHELL=/bin/sh +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +# m h dom mon dow user command +*/1 * * * * root /etc/cron.hourly/live-webhelper > /dev/null 2>&1 diff --git a/cgi/logrotate b/cgi/logrotate new file mode 100644 index 0000000..91b5ed5 --- /dev/null +++ b/cgi/logrotate @@ -0,0 +1,11 @@ +# /etc/logrotate.d/live-helper + +/var/log/live +{ + compress + copytruncate + missingok + monthly + notifempty + rotate 24 +} |