diff options
| author | Yuri Victorovich <yuri@FreeBSD.org> | 2023-10-16 17:58:47 +0000 |
|---|---|---|
| committer | Yuri Victorovich <yuri@FreeBSD.org> | 2023-10-16 18:00:27 +0000 |
| commit | fb7cd9ae233f3d3d9777c1b787f25833412183ca (patch) | |
| tree | 31cf0a6d132cf199d40524e10908082c37bfaffe | |
| parent | db4a198875f1f8349f03aa4988e680ffd477a0f8 (diff) | |
net-p2p/qbittorrent: Add the qbittorrent_flags setting for the daemon
This is only for the 'nox' flavor, to set WebUI settings.
| -rw-r--r-- | net-p2p/qbittorrent/Makefile | 2 | ||||
| -rw-r--r-- | net-p2p/qbittorrent/files/qbittorrent.in | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/net-p2p/qbittorrent/Makefile b/net-p2p/qbittorrent/Makefile index 744974b337f6..b5662a56dcaf 100644 --- a/net-p2p/qbittorrent/Makefile +++ b/net-p2p/qbittorrent/Makefile @@ -1,6 +1,6 @@ PORTNAME= qbittorrent DISTVERSION= 4.5.5 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net-p2p MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} diff --git a/net-p2p/qbittorrent/files/qbittorrent.in b/net-p2p/qbittorrent/files/qbittorrent.in index 943f55c643b2..147419c1f8c3 100644 --- a/net-p2p/qbittorrent/files/qbittorrent.in +++ b/net-p2p/qbittorrent/files/qbittorrent.in @@ -16,6 +16,8 @@ # Default is 'qbittorrent' # qbittorrent_group: The group associated with username qbittorrent # daemon runs as. Default is 'qbittorrent' +# qbittorrent_flags: Arguments that will be passed to qbittorrent. +# For example, --webui-port={port}. # . /etc/rc.subr @@ -30,6 +32,7 @@ load_rc_config $name : ${qbittorrent_download_dir="/var/db/qbittorrent/Downloads"} : ${qbittorrent_user=%%USER%%} : ${qbittorrent_group=%%GROUP%%} +: ${qbittorrent_flags=""} command="%%PREFIX%%/bin/qbittorrent-nox" command_args="--daemon" |
