mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
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>
15 lines
382 B
Diff
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
|