summaryrefslogtreecommitdiffstats
path: root/roleproxy.service
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2023-01-29 19:38:50 +0100
committerGeorg Pfuetzenreuter2023-01-29 19:38:50 +0100
commit66bb3028e77b5a46547bcd213788cc655e743d71 (patch)
treeb7b91241f99ed8d3f0080549b0da10e728b6df51 /roleproxy.service
parent4923b43fed1aa3fa8a696cd44b12d0a3ec554f6c (diff)
downloadsalt-netbox-roleproxy-66bb3028e77b5a46547bcd213788cc655e743d71.tar.gz
salt-netbox-roleproxy-66bb3028e77b5a46547bcd213788cc655e743d71.tar.bz2
salt-netbox-roleproxy-66bb3028e77b5a46547bcd213788cc655e743d71.zip
Add service user definition
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'roleproxy.service')
-rw-r--r--roleproxy.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/roleproxy.service b/roleproxy.service
index 2c53b28..6302c0a 100644
--- a/roleproxy.service
+++ b/roleproxy.service
@@ -5,7 +5,8 @@
Description=Salt NetBox Role Proxy
[Service]
-User=roleproxy
+User=_roleproxy
+Group=_roleproxy
EnvironmentFile=/etc/sysconfig/roleproxy
ExecStart=/usr/local/bin/roleproxy.py
ProtectSystem=strict