commit 97affd453ef47f13deb1f21528b60f16920d85eb
parent a5e88456295f75fc439bc86cfc45175566eba8d3
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 12 Jan 2025 13:55:57 +0100
set uid
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/systemd-services/buildbot-master.service b/systemd-services/buildbot-master.service
@@ -3,7 +3,9 @@ Description=Buildbot master service
AssertPathExists=/home/buildbot-master/master
[Service]
-WorkingDirectory=/home/buildbot-master/
+User=buildbot-master
+Group=buildbot-master
+WorkingDirectory=~
ExecStart=/home/buildbot-master/.local/bin/buildbot start --nodaemon master
ExecReload=/home/buildbot-master/.local/bin/buildbot sighup master
ExecStop=/home/buildbot-master/.local/bin/buildbot stop master