CVS: moonbase/web/webmin/init.d webmin,1.1,1.2
sofar at lunar-linux.org
sofar at lunar-linux.org
Wed Sep 24 22:30:56 GMT 2003
Update of /var/cvs/lunar/moonbase/web/webmin/init.d
In directory dbguin.lunar-linux.org:/tmp/cvs-serv15891
Modified Files:
webmin
Log Message:
Better!
Index: webmin
===================================================================
RCS file: /var/cvs/lunar/moonbase/web/webmin/init.d/webmin,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- webmin 6 Apr 2003 23:09:09 -0000 1.1
+++ webmin 24 Sep 2003 22:30:53 -0000 1.2
@@ -4,24 +4,10 @@
#
# chkconfig: 345 90 10
# description: Webmin WEB Admin Tool
-# processname: miniserv.pl
+# processname: /var/webmin/html/miniserv.pl
# pidfile: /var/webmin/miniserv.pid
-start () {
- echo -n "Starting webmin:"
- /etc/webmin/start >/dev/null 2>&1 </dev/null &&
- echo -e $RESULT_OK ||
- echo -e $RESULT_FAIL
-}
-
-
-stop () {
- echo -n "Stopping webmin:"
- /etc/webmin/stop &&
- echo -e $RESULT_OK ||
- echo -e $RESULT_FAILp
-}
-
+ARGS="/etc/webmin/miniserv.conf"
restart () {
$0 stop
More information about the Lunar-commits
mailing list