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:
Dries Michiels 2022-09-23 21:26:43 +02:00
parent 9249b37361
commit 657bb2025e
4 changed files with 4 additions and 3 deletions

View File

@ -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/

View File

@ -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} \

View File

@ -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/

View File

@ -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} \