From 109d6b4f673a249aea4deeb0cdb5b54a21592410 Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Sun, 11 Oct 2015 11:26:48 +0200 Subject: Clear history for egencache --repo=mv --update-changelogs --- media-tv/sundtek-tv/files/sundtek.initd | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 media-tv/sundtek-tv/files/sundtek.initd (limited to 'media-tv/sundtek-tv/files/sundtek.initd') diff --git a/media-tv/sundtek-tv/files/sundtek.initd b/media-tv/sundtek-tv/files/sundtek.initd new file mode 100644 index 00000000..315da43e --- /dev/null +++ b/media-tv/sundtek-tv/files/sundtek.initd @@ -0,0 +1,17 @@ +#!/sbin/openrc-run + +description="sundtek TV mediaclient" +#command=/opt/bin/mediasrv +#command_args="-d --pluginpath /opt/bin" + +start() { + ebegin "Starting ${SVCNAME}" + /opt/bin/mediaclient --start=4 + eend $? +} + +stop() { + ebegin "Stopping ${SVCNAME}" + /opt/bin/mediaclient --shutdown + eend $? +} -- cgit v1.2.3-65-gdbad