head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	2006.09.26.04.10.49;	author eradicator;	state Exp;
branches;
next	1.3;
commitid	35aa4518a8484567;

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

1.2
date	2004.09.28.00.17.12;	author swegener;	state Exp;
branches;
next	1.1;

1.1
date	2004.07.23.11.37.34;	author chrb;	state Exp;
branches
	1.1.1.1;
next	;

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


desc
@@


1.4
log
@Use lmdown rather than killing processes.
(Portage version: 2.1.2_pre1)
@
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/flexlm/files/flexlm-init,v 1.3 2005/08/11 08:42:25 eradicator Exp $

depend() {
	need net
}

start() {
	ebegin "Starting lmgrd"
	su - ${LMUSER} -c "umask 022; /opt/flexlm/bin/lmgrd -c '${LMLICENSE}' -l '${LMLOG}'"
	eend $?
}

stop() {
	ebegin "Stopping lmgrd"
	/opt/flexlm/bin/lmdown -q -all -force -c "${LMLICENSE}" >& /dev/null
	eend $?
}
@


1.3
log
@Revbump to add amd64 support, fix enewuser, cleanup init scripts and ebuild, and setup symlinks to lmutil.
(Portage version: 2.0.51.22-r2)
@
text
@d4 1
a4 1
# $Header: /var/cvsroot/gentoo-x86/app-admin/flexlm/files/flexlm-init,v 1.2 2004/09/28 00:17:12 swegener Exp $
d18 2
a19 2
	killall -HUP lmgrd &>/dev/null
	eend
@


1.2
log
@Gentoo Technologies, Inc. -> Gentoo Foundation
@
text
@d4 1
a4 1
# $Header: $
d12 1
a12 1
	su - $LMUSER -c "umask 022; /opt/flexlm/bin/lmgrd -c '$LMLICENSE' -l '$LMLOG'" 
@


1.1
log
@This package was submitted by Chris Bainbridge in bug #23211
@
text
@d2 3
a4 2
# Copyright 1999-2003 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/flexlm/files/flexlm-init,v 1.3 2005/08/11 08:42:25 eradicator Exp $
d11 1
a11 1
	su - ${LMUSER} -c "umask 022; /opt/flexlm/bin/lmgrd -c '${LMLICENSE}' -l '${LMLOG}'"
@


