head	1.6;
access;
symbols
	RELEASE-1_4:1.1.0.2;
locks; strict;
comment	@# @;


1.6
date	2009.09.06.19.33.35;	author idl0r;	state dead;
branches;
next	1.5;
commitid	7bf4aa40e8e4567;

1.5
date	2005.08.17.20.53.57;	author eradicator;	state Exp;
branches;
next	1.4;

1.4
date	2004.07.14.21.22.03;	author agriffis;	state Exp;
branches;
next	1.3;

1.3
date	2004.04.23.00.56.48;	author eradicator;	state Exp;
branches;
next	1.2;

1.2
date	2004.02.13.19.10.36;	author vapier;	state Exp;
branches;
next	1.1;

1.1
date	2003.07.21.19.28.32;	author mholzer;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2005.11.30.09.59.51;	author chriswhite;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Remove unused files.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
@
text
@#!/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/webmin-gentoo-init,v 1.5 2005/08/17 20:53:57 eradicator Exp $

depend() {
	need net logger
}

checkconfig() {
	if [ -f /etc/webmin/config ]; then
		return 0;
	else
		eerror "Error starting webmin.  Have you run '/usr/libexec/webmin/setup.sh'?"
		return 1;
	fi
}

start() { # copied from /etc/webmin/start
	checkconfig || return 1
	ebegin "Starting Webmin"

	LANG=
	export LANG

	unset PERLIO
	export PERLIO
	start-stop-daemon --start --pidfile /var/run/webmin.pid --make-pidfile --quiet \
		--exec /usr/libexec/webmin/miniserv.pl -- /etc/webmin/miniserv.conf
	eend $?
}

stop() {
	ebegin "Stopping Webmin"
	start-stop-daemon --stop --pidfile /var/run/webmin.pid --quiet
	eend $?
}
@


1.5
log
@Fixed init script.  Bug #102826.
(Portage version: 2.0.51.22-r2)
@
text
@d4 1
a4 1
# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/files/webmin-gentoo-init,v 1.4 2004/07/14 21:22:03 agriffis Exp $
@


1.4
log
@Gentoo Technologies -> Gentoo Foundation
@
text
@d4 1
a4 1
# $Header: /var/cvsroot/gentoo-x86/app-admin/webmin/files/webmin-gentoo-init,v 1.3 2004/04/23 00:56:48 eradicator Exp $
d29 1
a29 1
		--exec /usr/libexec/webmin/miniserv.pl /etc/webmin/miniserv.conf
@


1.3
log
@USE=ssl support in config generation.  log dir moved to /var/log/webmin.  init script updated.
@
text
@d2 1
a2 1
# Copyright 1999-2004 Gentoo Technologies, Inc.
d4 1
a4 1
# $Header: /home/cvsroot/gentoo-x86/app-admin/usermin/files/patch/usermin,v 1.3 2004/02/13 19:10:36 vapier Exp $
@


1.2
log
@license update
@
text
@d4 1
a4 1
# $Header: $
d10 20
a29 3
start() {
	ebegin "Starting webmin"
	/etc/webmin/start
d34 2
a35 2
	ebegin "Stopping webmin"
	/etc/webmin/stop
@


1.1
log
@Added depend section. Closes #24818
@
text
@d2 3
a4 2
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
@


1.1.1.1
log
@*** empty log message ***
@
text
@d2 2
a3 3
# 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/webmin-gentoo-init,v 1.5 2005/08/17 20:53:57 eradicator Exp $
d9 3
a11 20
checkconfig() {
	if [ -f /etc/webmin/config ]; then
		return 0;
	else
		eerror "Error starting webmin.  Have you run '/usr/libexec/webmin/setup.sh'?"
		return 1;
	fi
}

start() { # copied from /etc/webmin/start
	checkconfig || return 1
	ebegin "Starting Webmin"

	LANG=
	export LANG

	unset PERLIO
	export PERLIO
	start-stop-daemon --start --pidfile /var/run/webmin.pid --make-pidfile --quiet \
		--exec /usr/libexec/webmin/miniserv.pl -- /etc/webmin/miniserv.conf
d16 2
a17 2
	ebegin "Stopping Webmin"
	start-stop-daemon --stop --pidfile /var/run/webmin.pid --quiet
@


