From nobody Fri Sep 22 05:08:07 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RsKzD3qYrz4vWvr; Fri, 22 Sep 2023 05:08:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RsKzD1Vscz3gln; Fri, 22 Sep 2023 05:08:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695359288; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XslUV0BR1EvmWPRdU+QGNDwkurShYAroT4yJ+Fb0coo=; b=r/kqnaWUb/wXYB5d6DeYpKiSWyp0vTzdh0tNAhjY+s0vhZ9lNy/jKbL+uMovsV1vWr/aIe Xf6Kk4/D9y/UWfN6p5gMdS9FYuOF85EI4MD6Y9EAaqsAt+2U+DZSRu/jParZ4mRGPBT3UK AVk/ZJWPESnr+z93m93T0+kVeLJymI5XJu89M9uzDes6qR4n4kcjqk2K8Kbd3y9s/LYYvM 7yZrF1lgnPvAyyXgbvgFfigiKyeDGyESFkBdVYHkU3ptfE8caaObFXodFVgI0hQ4hGnQ8r fxiZm6MQ3x7Vlnkgjqm5m6QZcvkawpYorj5ThfbHGUmOFbv1zmfTYlFtrqFHyg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695359288; a=rsa-sha256; cv=none; b=NGLQLJ466IWEG4592M+Sioe1+qEd+9NuACQT7AAz3rEo7Bh841KoOYV0d1/HANcYkMWiwm PEnILFIiswNBBCaLG5crZiwG4+lhELDnnBZGdamNPPK6zFu8sUjpRGg+MJ75VRTeXLfZHk lXDJ0LEQFHnFsNfTW5z9qTZ5XUQbVVEMgDpvECq9XjiBU/4duxovDVz5x5oTEPYkg+1OuW 1D+09TEX5aelPcJjESB1gJ7/1dvioR56IszD74jDqlhMBvOarI6Jbi3QpOh+JwvtKTCHQF vlByxE1VDPCoQNQcU1Y5f3n0RDiC/52VXwKQnreCfPVWM4BGV2/J8V+9wORJlA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695359288; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=XslUV0BR1EvmWPRdU+QGNDwkurShYAroT4yJ+Fb0coo=; b=bqMkhdiB1VPL/CC1Lamfy8SxmA0ZkH+Yi9hOjWARhsmk5VlpqWzkY8ChBDSmNH9Kpq+gLE 51SCGUSxfed1ke7+PFJEXQDdCISgOql+FU7vmZAq6l5ksXc/LVMiMFb0yiaOlu2+l78vvI Hq0xn7eQy+KZOBDH5qygsO7XAciuYHX5jp6YXOerZWKdcotm8Ir7Zj/SKwiFRAidqWZtIM qC76I6s1Avvu2i4Rko3Xhi0rDo1TDU6wfBn1BqMpSH1O1LnzSiECMN30kTrQyqqWIj+dyu 0ZOYxl6ceFl2Di/ml3WOf3sOMy0SA0/SQE18CvTJB/IYVfjsqcCRomdXMqu6tw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RsKzD0Vnvz17GN; Fri, 22 Sep 2023 05:08:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 38M587PM066582; Fri, 22 Sep 2023 05:08:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38M587Ax066579; Fri, 22 Sep 2023 05:08:07 GMT (envelope-from git) Date: Fri, 22 Sep 2023 05:08:07 GMT Message-Id: <202309220508.38M587Ax066579@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Robert Clausecker Subject: git: 67de7f3af9df - main - multimedia/jellyfin: adjust pkg-message to include proper jail parameters List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 67de7f3af9df240633f8f12ab5054d1aac55b227 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=67de7f3af9df240633f8f12ab5054d1aac55b227 commit 67de7f3af9df240633f8f12ab5054d1aac55b227 Author: FiLiS AuthorDate: 2023-09-21 13:39:19 +0000 Commit: Robert Clausecker 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