multimedia/emby-server(-devel): pass -r to daemon in the rc script
Similar to the rr ports, pass -r to daemon so that the daemon restarts when crashed. The embedded dotNET sporadically crashes, this way the service atleast keeps running until a native dotNET build is available.
This commit is contained in:
parent
9249b37361
commit
657bb2025e
|
@ -1,5 +1,6 @@
|
|||
PORTNAME= emby-server
|
||||
DISTVERSION= 4.8.0.9
|
||||
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="-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,6 +1,6 @@
|
|||
PORTNAME= emby-server
|
||||
DISTVERSION= 4.7.6.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
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="-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