Index | Thread | Search

From:
Klemens Nanni <kn@openbsd.org>
Subject:
transmission: allow service reload
To:
ports <ports@openbsd.org>
Cc:
Josh Grosse <josh@jggimi.net>
Date:
Sat, 31 Jan 2026 19:37:26 +0000

Download raw body.

Thread
dhttps://github.com/transmission/transmission/blob/main/docs/Editing-Configuration-Files.md#reload-settings

transmission-daemon(1) writes out its entire config on exit.

Noticed while deploying with openvox, where the usual chain is:
- install package
- produce (partial) config file
- (re)start service (upon change)

But as the daemon updates the file, this would obviously cause
change -> restart loops, so soft-reload to apply config without
process exit is needed.

Works like a charm using the package's service as-is.

OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/transmission/Makefile,v
diff -u -p -r1.157 Makefile
--- Makefile	31 Jan 2026 18:00:38 -0000	1.157
+++ Makefile	31 Jan 2026 19:17:31 -0000
@@ -3,6 +3,7 @@ COMMENT-gtk=	BitTorrent client with GTK+
 COMMENT-qt=	BitTorrent client with Qt interface
 
 VER=		4.1.0
+REVISION-main=	0
 DISTNAME=	transmission-4.1.0
 PKGNAME-main=	transmission-${VER}
 PKGNAME-gtk=	transmission-gtk-${VER}
Index: pkg/transmission_daemon.rc
===================================================================
RCS file: /cvs/ports/net/transmission/pkg/transmission_daemon.rc,v
diff -u -p -r1.3 transmission_daemon.rc
--- pkg/transmission_daemon.rc	11 Mar 2022 19:47:56 -0000	1.3
+++ pkg/transmission_daemon.rc	31 Jan 2026 19:17:08 -0000
@@ -5,6 +5,4 @@ daemon_user="_transmission"
 
 . /etc/rc.d/rc.subr
 
-rc_reload=NO
-
 rc_cmd $1