quarks/net-misc/universalmediaserver/files/universalmediaserver.initd
2016-11-26 13:56:21 -08:00

20 lines
458 B
Plaintext

#!/sbin/openrc-run
# Copyright 2016 Ivan The Viking 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
command="/usr/bin/universalmediaserver"
command_args="console"
pidfile="${PMS_PIDFILE:-/var/run/ums.pid}"
retry="10"
start_stop_daemon_args="
--background
--make-pidfile
${UMS_USER:+--user} ${UMS_USER}
${UMS_GROUP:+--group} ${UMS_GROUP}
"
depend() {
need net
}