blob: db827e31e52ce80e0dc7268f6895031a61ecbf31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/sbin/runscript
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/ps3mediaserver/files/ps3mediaserver.initd,v 1.2 2012/02/20 02:52:51 floppym Exp $
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
}
|