summaryrefslogtreecommitdiff
blob: 4067c85df4d9e36246ffc80ba22e072924960ee7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/sbin/openrc-run
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

command="/usr/bin/ps3mediaserver"
command_args="console"
pidfile="${PMS_PIDFILE:-/var/run/ps3mediaserver.pid}"
retry="10"
start_stop_daemon_args="
	--background
	--make-pidfile
	${PMS_USER:+--user} ${PMS_USER}
	${PMS_GROUP:+--group} ${PMS_GROUP}
"

depend() {
	need net
}