Files
gentoo/net-proxy/3proxy/files/3proxy-0.9.7-systemd_unit_owner.patch
Nicolas PARLANT 8ee4a20a4c net-proxy/3proxy: add 0.9.7
switch to cmake to simplify the build and fix automagic
fix owner in systemd unit

Closes: https://bugs.gentoo.org/979048
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1377
Signed-off-by: Sam James <sam@gentoo.org>
2026-07-14 05:40:01 +01:00

15 lines
382 B
Diff

use acct-{user,group}/3proxy
--- a/scripts/3proxy.service.in
+++ b/scripts/3proxy.service.in
@@ -5,8 +5,8 @@ After=network.target
[Service]
Type=simple
-User=proxy
-Group=proxy
+User=3proxy
+Group=3proxy
Environment=CONFIGFILE=@CMAKE_INSTALL_FULL_SYSCONFDIR@/3proxy/3proxy.cfg
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/3proxy ${CONFIGFILE}
ExecReload=/bin/kill -SIGUSR1 $MAINPID