Ubuntu Pastebin

Paste from djledkov at Fri, 16 Jan 2015 18:29:13 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
=== modified file 'debian/upstart-bin.upstart.cron.daily'
--- debian/upstart-bin.upstart.cron.daily	2015-01-11 01:18:02 +0000
+++ debian/upstart-bin.upstart.cron.daily	2015-01-16 18:29:01 +0000
@@ -14,5 +14,5 @@
 
 for session in /run/user/*/upstart/sessions/*
 do
-    env $(cat $session) /sbin/initctl emit :sys:rotate-logs >/dev/null 2>&1 || true
+    env $(cat $session) /sbin/initctl emit rotate-logs >/dev/null 2>&1 || true
 done

=== modified file 'debian/user-conf/logrotate.conf'
--- debian/user-conf/logrotate.conf	2014-09-30 09:00:01 +0000
+++ debian/user-conf/logrotate.conf	2015-01-16 18:28:45 +0000
@@ -7,7 +7,7 @@
 
 description "Rotate job log files"
 
-start on startup or :sys:rotate-logs
+start on startup or :sys:rotate-logs or rotate-logs
 
 task
 
Download as text