summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-04-14 20:33:58 +0200
committerHolger Levsen <holger@layer-acht.org>2017-04-14 20:33:58 +0200
commit9e10a498469e9a98a17add20be5f4427c256630f (patch)
treea1248778ac73cea4273ce36f031282e4ad040b04
parentbb917b0b940f34a698a104e369216808edcf8fbf (diff)
downloadjenkins.debian.net-9e10a498469e9a98a17add20be5f4427c256630f.tar.xz
reproducible Debian: run reproducible_build@service as jenkins user
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rw-r--r--hosts/jenkins/etc/systemd/system/reproducible_build@.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/hosts/jenkins/etc/systemd/system/reproducible_build@.service b/hosts/jenkins/etc/systemd/system/reproducible_build@.service
index dc465f75..f51c53df 100644
--- a/hosts/jenkins/etc/systemd/system/reproducible_build@.service
+++ b/hosts/jenkins/etc/systemd/system/reproducible_build@.service
@@ -5,7 +5,8 @@ Description=Build service for reproducible-builds jobs
# Restart whenever the script exits, without rate limiting:
Restart=always
StartLimitInterval=0
-
+user=jenkins
+group=jenkins
ExecStart=/srv/jenkins/bin/reproducible_build_service.sh %I
[Install]