1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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 $? }