1 |
ultrabug 14/05/26 08:03:45 |
2 |
|
3 |
Modified: mongos.initd-r2 mongodb.initd-r2 mms-agent.initd-r2 |
4 |
Log: |
5 |
fix init script user and group execution |
6 |
|
7 |
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key B658FA13) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 dev-db/mongodb/files/mongos.initd-r2 |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongos.initd-r2?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongos.initd-r2?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongos.initd-r2?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: mongos.initd-r2 |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongos.initd-r2,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- mongos.initd-r2 14 May 2014 09:16:49 -0000 1.1 |
23 |
+++ mongos.initd-r2 26 May 2014 08:03:45 -0000 1.2 |
24 |
@@ -1,7 +1,7 @@ |
25 |
#!/sbin/runscript |
26 |
# Copyright 1999-2014 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongos.initd-r2,v 1.1 2014/05/14 09:16:49 ultrabug Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongos.initd-r2,v 1.2 2014/05/26 08:03:45 ultrabug Exp $ |
30 |
|
31 |
config_file=${config_file:-/etc/${SVCNAME}.conf} |
32 |
run_dir=${run_dir:-/run/mongodb} |
33 |
@@ -12,6 +12,7 @@ |
34 |
pidfile=${run_dir}/${SVCNAME}.pid |
35 |
user=${user:-mongodb} |
36 |
group=${group:-mongodb} |
37 |
+start_stop_daemon_args="--user ${user} --group ${group}" |
38 |
|
39 |
depend() { |
40 |
use net |
41 |
|
42 |
|
43 |
|
44 |
1.2 dev-db/mongodb/files/mongodb.initd-r2 |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongodb.initd-r2?rev=1.2&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongodb.initd-r2?rev=1.2&content-type=text/plain |
48 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mongodb.initd-r2?r1=1.1&r2=1.2 |
49 |
|
50 |
Index: mongodb.initd-r2 |
51 |
=================================================================== |
52 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongodb.initd-r2,v |
53 |
retrieving revision 1.1 |
54 |
retrieving revision 1.2 |
55 |
diff -u -r1.1 -r1.2 |
56 |
--- mongodb.initd-r2 14 May 2014 09:16:49 -0000 1.1 |
57 |
+++ mongodb.initd-r2 26 May 2014 08:03:45 -0000 1.2 |
58 |
@@ -1,7 +1,7 @@ |
59 |
#!/sbin/runscript |
60 |
# Copyright 1999-2014 Gentoo Foundation |
61 |
# Distributed under the terms of the GNU General Public License v2 |
62 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongodb.initd-r2,v 1.1 2014/05/14 09:16:49 ultrabug Exp $ |
63 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mongodb.initd-r2,v 1.2 2014/05/26 08:03:45 ultrabug Exp $ |
64 |
|
65 |
config_file=${config_file:-/etc/${SVCNAME}.conf} |
66 |
run_dir=${run_dir:-/run/mongodb} |
67 |
@@ -12,6 +12,7 @@ |
68 |
pidfile=${run_dir}/${SVCNAME}.pid |
69 |
user=${user:-mongodb} |
70 |
group=${group:-mongodb} |
71 |
+start_stop_daemon_args="--user ${user} --group ${group}" |
72 |
|
73 |
depend() { |
74 |
use net |
75 |
|
76 |
|
77 |
|
78 |
1.2 dev-db/mongodb/files/mms-agent.initd-r2 |
79 |
|
80 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mms-agent.initd-r2?rev=1.2&view=markup |
81 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mms-agent.initd-r2?rev=1.2&content-type=text/plain |
82 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mongodb/files/mms-agent.initd-r2?r1=1.1&r2=1.2 |
83 |
|
84 |
Index: mms-agent.initd-r2 |
85 |
=================================================================== |
86 |
RCS file: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mms-agent.initd-r2,v |
87 |
retrieving revision 1.1 |
88 |
retrieving revision 1.2 |
89 |
diff -u -r1.1 -r1.2 |
90 |
--- mms-agent.initd-r2 14 May 2014 09:16:49 -0000 1.1 |
91 |
+++ mms-agent.initd-r2 26 May 2014 08:03:45 -0000 1.2 |
92 |
@@ -1,7 +1,7 @@ |
93 |
#!/sbin/runscript |
94 |
# Copyright 1999-2014 Gentoo Foundation |
95 |
# Distributed under the terms of the GNU General Public License v2 |
96 |
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mms-agent.initd-r2,v 1.1 2014/05/14 09:16:49 ultrabug Exp $ |
97 |
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mongodb/files/mms-agent.initd-r2,v 1.2 2014/05/26 08:03:45 ultrabug Exp $ |
98 |
|
99 |
logfile=/var/log/mongodb/mms-agent.log |
100 |
run_dir=${run_dir:-/run/mongodb} |
101 |
@@ -12,6 +12,7 @@ |
102 |
pidfile=${run_dir}/${SVCNAME}.pid |
103 |
user=${user:-mongodb} |
104 |
group=${group:-mongodb} |
105 |
+start_stop_daemon_args="--user ${user} --group ${group}" |
106 |
|
107 |
depend() { |
108 |
need net |