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>2010-03-07 12:07:54 +0100
commit2341a43cbf1f4a6525cda144a2ccc47c9ffddd76 (patch)
tree0b045c6dff2454afd63f186ab0033f78828f512a /cgi
parent17604e3ed688411119dea9d4d3d2a22d4f7c2745 (diff)
downloadvyos-live-build-2341a43cbf1f4a6525cda144a2ccc47c9ffddd76.tar.gz
vyos-live-build-2341a43cbf1f4a6525cda144a2ccc47c9ffddd76.zip
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 000000000..0cb78a330
--- /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 000000000..91b5ed577
--- /dev/null
+++ b/cgi/logrotate
@@ -0,0 +1,11 @@
+# /etc/logrotate.d/live-helper
+
+/var/log/live
+{
+ compress
+ copytruncate
+ missingok
+ monthly
+ notifempty
+ rotate 24
+}