1 |
polynomial-c 14/02/25 19:08:17 |
2 |
|
3 |
Modified: cronie-1.3-initd anacron-1.0-initd |
4 |
Log: |
5 |
Revbump to install anacrontab as well (bug #502420). Committed straight to stable. Fixed pidfile location in init scripts. Removed old |
6 |
|
7 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 0x981CA6FC) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 sys-process/cronie/files/cronie-1.3-initd |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/cronie/files/cronie-1.3-initd?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/cronie/files/cronie-1.3-initd?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/cronie/files/cronie-1.3-initd?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: cronie-1.3-initd |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-process/cronie/files/cronie-1.3-initd,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- cronie-1.3-initd 13 Feb 2012 17:32:34 -0000 1.1 |
23 |
+++ cronie-1.3-initd 25 Feb 2014 19:08:17 -0000 1.2 |
24 |
@@ -1,11 +1,11 @@ |
25 |
#!/sbin/runscript |
26 |
-# Copyright 1999-2012 Gentoo Foundation |
27 |
+# Copyright 1999-2014 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/files/cronie-1.3-initd,v 1.1 2012/02/13 17:32:34 polynomial-c Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/files/cronie-1.3-initd,v 1.2 2014/02/25 19:08:17 polynomial-c Exp $ |
31 |
|
32 |
command="/usr/sbin/crond" |
33 |
command_args="${CRONDARGS}" |
34 |
-pidfile="/var/run/crond.pid" |
35 |
+pidfile="/run/crond.pid" |
36 |
|
37 |
depend() { |
38 |
use clock logger |
39 |
|
40 |
|
41 |
|
42 |
1.3 sys-process/cronie/files/anacron-1.0-initd |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/cronie/files/anacron-1.0-initd?rev=1.3&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/cronie/files/anacron-1.0-initd?rev=1.3&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-process/cronie/files/anacron-1.0-initd?r1=1.2&r2=1.3 |
47 |
|
48 |
Index: anacron-1.0-initd |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/sys-process/cronie/files/anacron-1.0-initd,v |
51 |
retrieving revision 1.2 |
52 |
retrieving revision 1.3 |
53 |
diff -u -r1.2 -r1.3 |
54 |
--- anacron-1.0-initd 23 Jan 2013 17:25:24 -0000 1.2 |
55 |
+++ anacron-1.0-initd 25 Feb 2014 19:08:17 -0000 1.3 |
56 |
@@ -1,15 +1,16 @@ |
57 |
#!/sbin/runscript |
58 |
-# Copyright 1999-2013 Gentoo Foundation |
59 |
+# Copyright 1999-2014 Gentoo Foundation |
60 |
# Distributed under the terms of the GNU General Public License v2 |
61 |
-# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/files/anacron-1.0-initd,v 1.2 2013/01/23 17:25:24 polynomial-c Exp $ |
62 |
+# $Header: /var/cvsroot/gentoo-x86/sys-process/cronie/files/anacron-1.0-initd,v 1.3 2014/02/25 19:08:17 polynomial-c Exp $ |
63 |
|
64 |
# anacron forks itself when -d gets omitted. So s-s-d fails to create a valid |
65 |
-# pidfile. DO NOT remove -d from command_args and -b from s-s-d_args! |
66 |
+# pidfile. DO NOT remove -d from command_args and let s-s-d start anacron |
67 |
+# in background! |
68 |
|
69 |
command="/usr/sbin/anacron" |
70 |
command_args="-d -s -S /var/spool/anacron" |
71 |
-pidfile="/var/run/anacron.pid" |
72 |
-start_stop_daemon_args="--background --make-pidfile --pidfile ${pidfile}" |
73 |
+pidfile="/run/anacron.pid" |
74 |
+command_background="true" |
75 |
|
76 |
depend() { |
77 |
use clock logger |