git: 67de7f3af9df - main - multimedia/jellyfin: adjust pkg-message to include proper jail parameters

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Fri, 22 Sep 2023 05:08:07 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=67de7f3af9df240633f8f12ab5054d1aac55b227

commit 67de7f3af9df240633f8f12ab5054d1aac55b227
Author:     FiLiS <freebsdbugs@filis.org>
AuthorDate: 2023-09-21 13:39:19 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-09-22 04:56:48 +0000

    multimedia/jellyfin: adjust pkg-message to include proper jail parameters
    
    In order to run in a jail, jellyfin needs the jail's parameter
    `allow.mlock` to be set, the pkg-message.in mentions this to be
    `allow_mlock=1`, which won't work.  Fix this and also use
    `service jellyfin enable` instead of the `sysrc` line.
    
    PR:             273973
    Approved by:    michiel@vanbaak.eu
---
 multimedia/jellyfin/files/pkg-message.in | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/multimedia/jellyfin/files/pkg-message.in b/multimedia/jellyfin/files/pkg-message.in
index e2cee2db9a17..7190e32cc86a 100755
--- a/multimedia/jellyfin/files/pkg-message.in
+++ b/multimedia/jellyfin/files/pkg-message.in
@@ -10,7 +10,7 @@ If this is something that you do not want, remove this package with
 "pkg remove jellyfin"
 
 This package installs a service file. 
-Enable it with "sysrc jellyfin_enable=TRUE"
+Enable it with "service jellyfin enable"
 Start it with "service jellyfin start".
 
 The service file uses daemon to restart jellyfin if it crashes.
@@ -18,7 +18,7 @@ The service file will also change the permissions so that the updater works.
 If this behavior is unwanted you will need to edit the RC file manually and
 remove the daemon and/or the permissions changes.
 
-If you are running this in a jail please set "allow_mlock=1" or similar
+If you are running this in a jail please set "allow.mlock" or similar
 for this jail otherwise the program will fail to start.
 
 dotNET does not work well inside jails that are missing either a) VNET or 
@@ -33,7 +33,7 @@ EOM
 Those upgrading, as a reminder:
 
 This package installs a service file.
-Enable it with "sysrc jellyfin_enable=TRUE"
+Enable it with "service jellyfin enable"
 Start it with "service jellyfin start".
 
 The service file uses daemon to restart jellyfin if it crashes.
@@ -41,7 +41,7 @@ The service file will also change the permissions so that the updater works.
 If this behavior is unwanted you will need to edit the RC file manually and
 remove the daemon and/or the permissions changes.
 
-If you are running this in a jail please set "allow_mlock=1" or similar
+If you are running this in a jail please set "allow.mlock" or similar
 for this jail otherwise the program will fail to start.
 
 dotNET does not work well inside jails that are missing either a) VNET or