pinkbyte 14/12/04 08:27:53 Modified: dwun Log: Revision bump: EAPI 5, epatch_user, replace einstall with default src_install phase function call, wrt bug #521580, respect compiler, replace /var/run with /run (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Revision Changes Path 1.4 net-dialup/dwun/files/dwun file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/dwun/files/dwun?rev=1.4&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/dwun/files/dwun?rev=1.4&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dialup/dwun/files/dwun?r1=1.3&r2=1.4 Index: dwun =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-dialup/dwun/files/dwun,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- dwun 14 Jul 2004 23:15:37 -0000 1.3 +++ dwun 4 Dec 2014 08:27:53 -0000 1.4 @@ -1,23 +1,23 @@ #!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/dwun/files/dwun,v 1.3 2004/07/14 23:15:37 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/dwun/files/dwun,v 1.4 2014/12/04 08:27:53 pinkbyte Exp $ depend() { need net } DAEMON=/usr/sbin/dwun -PIDFILE=/var/run/dwun.pid +PIDFILE="/run/${SVCNAME}.pid" start() { - ebegin "Starting dwun" + ebegin "Starting ${SVCNAME}" start-stop-daemon --start --pidfile ${PIDFILE} --startas ${DAEMON} eend $? } stop() { - ebegin "Stopping dwun" + ebegin "Stopping ${SVCNAME}" start-stop-daemon --stop --signal 1 --pidfile ${PIDFILE} eend $? }
