Add service user definition

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2023-01-29 19:38:50 +01:00
parent 4923b43fed
commit 66bb3028e7
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57
2 changed files with 5 additions and 1 deletions

View File

@ -5,7 +5,8 @@
Description=Salt NetBox Role Proxy Description=Salt NetBox Role Proxy
[Service] [Service]
User=roleproxy User=_roleproxy
Group=_roleproxy
EnvironmentFile=/etc/sysconfig/roleproxy EnvironmentFile=/etc/sysconfig/roleproxy
ExecStart=/usr/local/bin/roleproxy.py ExecStart=/usr/local/bin/roleproxy.py
ProtectSystem=strict ProtectSystem=strict

View File

@ -0,0 +1,3 @@
# This file is shipped as part of the salt-netbox-roleproxy package.
# Author: Georg Pfuetzenreuter <mail+rpm@georg-pfuetzenreuter.net>
u _roleproxy - "Salt NetBox Role Proxy" /var/lib/empty -