diff options
author | Roy Marples <uberlord@gentoo.org> | 2007-10-30 10:36:07 +0000 |
---|---|---|
committer | Roy Marples <uberlord@gentoo.org> | 2007-10-30 10:36:07 +0000 |
commit | d3ba0e6e2fc45092ad3e5f6e87e5f648d96e1bd3 (patch) | |
tree | eca1edd124d96acc5d38571294a5f69f3477494b /app-admin/webmin/files | |
parent | stable x86, bug 197313 (diff) | |
download | historical-d3ba0e6e2fc45092ad3e5f6e87e5f648d96e1bd3.tar.gz historical-d3ba0e6e2fc45092ad3e5f6e87e5f648d96e1bd3.tar.bz2 historical-d3ba0e6e2fc45092ad3e5f6e87e5f648d96e1bd3.zip |
Fix init script for baselayout-1 and 2, #194143
Package-Manager: portage-2.1.3.16
Diffstat (limited to 'app-admin/webmin/files')
-rw-r--r-- | app-admin/webmin/files/digest-webmin-1.370-r1 | 9 | ||||
-rw-r--r-- | app-admin/webmin/files/init.d.webmin | 17 |
2 files changed, 18 insertions, 8 deletions
diff --git a/app-admin/webmin/files/digest-webmin-1.370-r1 b/app-admin/webmin/files/digest-webmin-1.370-r1 new file mode 100644 index 000000000000..db7dd78aa85a --- /dev/null +++ b/app-admin/webmin/files/digest-webmin-1.370-r1 @@ -0,0 +1,9 @@ +MD5 f74d252d7fa9c736895fb3a257dd3edc virtual-server-3.23.gpl.wbm.gz 379417 +RMD160 912ba4ff66b7644f05e7e5b52286b5a41cf7163d virtual-server-3.23.gpl.wbm.gz 379417 +SHA256 c5631f73921058df40a08b0d248bad1acf1dd5b7ded451c7c6f9fff1d923a360 virtual-server-3.23.gpl.wbm.gz 379417 +MD5 bcc81735c006f533d4e379d0394e606f webmin-1.370-minimal.tar.gz 1448705 +RMD160 110dc5aa3a4b8ee916bb0163d4d6cc7733c32652 webmin-1.370-minimal.tar.gz 1448705 +SHA256 16602d7df679b1e711aeb96d6191ce4ea3d1a3cae5ae2670e7cc6822eaa0dd12 webmin-1.370-minimal.tar.gz 1448705 +MD5 4138359051ca5f1fa3967aaa1e346e69 webmin-1.370.tar.gz 13132344 +RMD160 28805b553adc85b642ad3acffa3765a5127a529d webmin-1.370.tar.gz 13132344 +SHA256 db75b4dd0e65933e41bb95a73e70171d5c8bc19c280b2016fc0f0cabb0697be9 webmin-1.370.tar.gz 13132344 diff --git a/app-admin/webmin/files/init.d.webmin b/app-admin/webmin/files/init.d.webmin index 832976c9a2e3..76498914a17d 100644 --- a/app-admin/webmin/files/init.d.webmin +++ b/app-admin/webmin/files/init.d.webmin @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/files/init.d.webmin,v 1.5 2007/06/09 14:25:50 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/files/init.d.webmin,v 1.6 2007/10/30 10:36:07 uberlord Exp $ depend() { use net logger @@ -9,13 +9,13 @@ depend() { checkconfig() { - if [ -f /etc/webmin/config ]; then - return 0; - else + if [ ! -f /etc/webmin/config ]; then eerror "Error starting webmin. /etc/webmin/config is not present." eerror "Please report this on http://bugs.gentoo.org." - return 1; + return 1 fi + + return 0 } start() { # copied from /etc/usermin/start @@ -27,13 +27,14 @@ start() { # copied from /etc/usermin/start unset PERLIO export PERLIO - start-stop-daemon --start --quiet --name webmin --oknodo \ - --exec /usr/libexec/webmin/miniserv.pl /etc/webmin/miniserv.conf + start-stop-daemon --start --exec /usr/libexec/webmin/miniserv.pl \ + --pidfile /var/run/webmin.pid \ + -- /etc/webmin/miniserv.conf eend $? } stop() { ebegin "Stopping Webmin" - start-stop-daemon --stop --pidfile /var/run/webmin.pid --quiet + start-stop-daemon --stop --quiet --pidfile /var/run/webmin.pid eend $? } |