angelos 14/03/22 16:59:06 Added: mpdas.init Log: Add init script (bug #493772), bump to EAPI5 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 84F20B43)
Revision Changes Path 1.1 media-sound/mpdas/files/mpdas.init file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpdas/files/mpdas.init?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/mpdas/files/mpdas.init?rev=1.1&content-type=text/plain Index: mpdas.init =================================================================== #!/sbin/runscript # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/mpdas/files/mpdas.init,v 1.1 2014/03/22 16:59:06 angelos Exp $ depend() { use net mpd } start() { ebegin "Starting mpdas" start-stop-daemon --background --start --exec /usr/bin/mpdas \ --make-pidfile --pidfile /run/mpdas.pid eend $? } stop() { ebegin "Stopping mpdas" start-stop-daemon --stop --exec /usr/bin/mpdas \ --pidfile /run/mpdas.pid eend $? }