summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-03-07 12:07:54 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:04 +0100
commitcbef9a5a0aa68d46b6a707e3a77dd940ff24bb50 (patch)
tree0b045c6dff2454afd63f186ab0033f78828f512a /cgi
parent666abf55827559d216bf9f15230b9975b7a147fd (diff)
downloadlive-build-cbef9a5a0aa68d46b6a707e3a77dd940ff24bb50.zip
live-build-cbef9a5a0aa68d46b6a707e3a77dd940ff24bb50.tar.gz
Shuffeling cgi files arround.
Diffstat (limited to 'cgi')
-rw-r--r--cgi/crontab7
-rw-r--r--cgi/logrotate11
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
+}