git: 0975e9741cae - main - net/boinc-client: fix idprio to provide the least possible priority

From: Larry Rosenman <ler_at_FreeBSD.org>
Date: Wed, 21 Aug 2024 04:22:49 UTC
The branch main has been updated by ler:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0975e9741cae64c3fbbdc6e40291d77f709b5858

commit 0975e9741cae64c3fbbdc6e40291d77f709b5858
Author:     Larry Rosenman <ler@FreeBSD.org>
AuthorDate: 2024-08-21 04:20:54 +0000
Commit:     Larry Rosenman <ler@FreeBSD.org>
CommitDate: 2024-08-21 04:22:45 +0000

    net/boinc-client: fix idprio to provide the least possible priority
    
    PR:     280843
    Reported by: Älven <alster@vinterdalen.se>
---
 net/boinc-client/Makefile              | 1 +
 net/boinc-client/files/boinc-client.in | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/net/boinc-client/Makefile b/net/boinc-client/Makefile
index 755921c380d1..1b4de7bf5d7a 100644
--- a/net/boinc-client/Makefile
+++ b/net/boinc-client/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	boinc-client
 DISTVERSIONPREFIX=	client_release/8.0/
 DISTVERSION=	8.0.2
+PORTREVISION=	1
 CATEGORIES=	net
 
 MAINTAINER=	ler@FreeBSD.org
diff --git a/net/boinc-client/files/boinc-client.in b/net/boinc-client/files/boinc-client.in
index 21d4294d7608..a76c32f9ec7e 100644
--- a/net/boinc-client/files/boinc-client.in
+++ b/net/boinc-client/files/boinc-client.in
@@ -39,7 +39,7 @@ boinc_client_start()
 		return 1
 	fi
 	echo "Starting ${name}."
-	idprio 31 daemon -u ${boinc_client_user} -p ${pidfile} -f ${command} ${boinc_client_flags} ${command_args} || return 1
+	idprio 30 daemon -u ${boinc_client_user} -p ${pidfile} -f ${command} ${boinc_client_flags} ${command_args} || return 1
 }
 
 boinc_client_poststop()