Gentoo Archives: gentoo-commits

From: "Christian Ruppert (idl0r)" <idl0r@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-admin/webmin/files: init.d.webmin
Date: Sat, 31 Dec 2011 18:33:49
Message-Id: 20111231183340.1D3872004C@flycatcher.gentoo.org
1 idl0r 11/12/31 18:33:40
2
3 Modified: init.d.webmin
4 Log:
5 Revbump. Don't use deprecated start-stop-daemon options, bug 377843 and bug 381895.
6
7 (Portage version: 2.1.10.41/cvs/Linux i686)
8
9 Revision Changes Path
10 1.9 app-admin/webmin/files/init.d.webmin
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/webmin/files/init.d.webmin?rev=1.9&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/webmin/files/init.d.webmin?rev=1.9&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/webmin/files/init.d.webmin?r1=1.8&r2=1.9
15
16 Index: init.d.webmin
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-admin/webmin/files/init.d.webmin,v
19 retrieving revision 1.8
20 retrieving revision 1.9
21 diff -u -r1.8 -r1.9
22 --- init.d.webmin 18 Sep 2011 09:56:11 -0000 1.8
23 +++ init.d.webmin 31 Dec 2011 18:33:40 -0000 1.9
24 @@ -1,7 +1,7 @@
25 #!/sbin/runscript
26 # Copyright 1999-2011 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/files/init.d.webmin,v 1.8 2011/09/18 09:56:11 hwoarang Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/files/init.d.webmin,v 1.9 2011/12/31 18:33:40 idl0r Exp $
30
31
32 # We do not give a choice to user for configuring these 'cause it will mess up
33 @@ -10,7 +10,7 @@
34 WEBMIN_PID="%pid%"
35 WEBMIN_CONF="%conf%"
36
37 -opts="${opts} reload"
38 +extra_started_commands="reload"
39
40 depend() {
41 use net logger
42 @@ -55,10 +55,7 @@
43 checkconfig || return 1
44
45 ebegin "Reloading Webmin's configuration files"
46 - start-stop-daemon --oknodo --stop --interpreted \
47 - --signal USR1 \
48 - --exec "$WEBMIN_EXE" \
49 - --pidfile "$WEBMIN_PID"
50 + start-stop-daemon --signal USR1 --pidfile "$WEBMIN_PID"
51 eend $?
52 }