MFH: r520400
multimedia/emby-server: define pidfile in rc.d script Without pidfile other Mono applications maybe detected. PR: 240930 Submitted by: Maxime Gauduin (maintainer) Approved by: ports-secteam blanket
This commit is contained in:
parent
7893294573
commit
a95c46a48e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q4/; revision=520403
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= emby-server
|
||||
PORTVERSION= 4.2.1.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${PORTVERSION}/ \
|
||||
https://mediabrowser.github.io/embytools/
|
||||
|
|
|
@ -45,6 +45,7 @@ load_rc_config ${name}
|
|||
: ${%%RC_NAME%%_ffprobe:="%%PREFIX%%/lib/emby-server/bin/ffprobe"}
|
||||
: ${%%RC_NAME%%_pid:="/var/run/%%PORTNAME%%.pid"}
|
||||
|
||||
pidfile="${%%RC_NAME%%_pid}"
|
||||
procname="%%LOCALBASE%%/bin/mono"
|
||||
command="/usr/sbin/daemon"
|
||||
command_args="-f -p ${%%RC_NAME%%_pid} ${procname} %%PREFIX%%/lib/emby-server/system/EmbyServer.exe \
|
||||
|
|
Loading…
Reference in New Issue
Block a user