multimedia/emby-server(-devel): pass -P to daemon(8)
With the -r option, the -P option must be used instead of the -p option. Otherwise, when stopping the service, daemon will restart the child. See man daemon(8).
This commit is contained in:
parent
74e9e468ec
commit
2cf301a102
@ -1,5 +1,6 @@
|
||||
PORTNAME= emby-server
|
||||
DISTVERSION= 4.8.0.21
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${DISTVERSION}/ \
|
||||
https://mediabrowser.github.io/embytools/
|
||||
|
@ -46,7 +46,7 @@ load_rc_config ${name}
|
||||
pidfile="${%%RC_NAME%%_pid}"
|
||||
procname="%%PREFIX%%/lib/emby-server/system/EmbyServer"
|
||||
command="/usr/sbin/daemon"
|
||||
command_args="-r -f -p ${%%RC_NAME%%_pid} ${procname} \
|
||||
command_args="-r -f -P ${%%RC_NAME%%_pid} ${procname} \
|
||||
-os freebsd \
|
||||
-ffdetect ${%%RC_NAME%%_ffdetect} \
|
||||
-ffmpeg ${%%RC_NAME%%_ffmpeg} \
|
||||
|
@ -1,5 +1,6 @@
|
||||
PORTNAME= emby-server
|
||||
DISTVERSION= 4.7.11.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${DISTVERSION}/ \
|
||||
https://mediabrowser.github.io/embytools/
|
||||
|
@ -46,7 +46,7 @@ load_rc_config ${name}
|
||||
pidfile="${%%RC_NAME%%_pid}"
|
||||
procname="%%PREFIX%%/lib/emby-server/system/EmbyServer"
|
||||
command="/usr/sbin/daemon"
|
||||
command_args="-r -f -p ${%%RC_NAME%%_pid} ${procname} \
|
||||
command_args="-r -f -P ${%%RC_NAME%%_pid} ${procname} \
|
||||
-os freebsd \
|
||||
-ffdetect ${%%RC_NAME%%_ffdetect} \
|
||||
-ffmpeg ${%%RC_NAME%%_ffmpeg} \
|
||||
|
Loading…
Reference in New Issue
Block a user