net-misc/twonkymedia: initial ebuild

(Portage version: 2.2.0_alpha78/git/Linux x86_64, RepoMan options: --force, unsigned Manifest commit)
This commit is contained in:
Mario Fetka
2011-12-30 10:35:04 +01:00
parent c10c54b6e6
commit 156c0bd55e
5 changed files with 112 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/openslp/files/slpd-init,v 1.4 2007/07/13 13:20:28 uberlord Exp $
@@ -78,12 +78,12 @@ checkconfig() {
start() {
checkconfig || return 1
ebegin "Starting Twonky Media Server"
start-stop-daemon --start --quiet --exec /usr/sbin/slpd --pidfile /var/run/slpd.pid
start-stop-daemon --start --quiet --exec /opt/twonkymedia --pidfile /var/run/mediaserver.pid -- -D
eend $?
}
stop() {
ebegin "Stopping Twonky Media Server"
start-stop-daemon --stop --quiet --pidfile /var/run/slpd.pid
start-stop-daemon --stop --quiet --pidfile /var/run/mediaserver.pid
eend $?
}