diff options
-rw-r--r-- | roleproxy.service | 3 | ||||
-rw-r--r-- | system-user-roleproxy.conf | 3 |
2 files changed, 5 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 diff --git a/system-user-roleproxy.conf b/system-user-roleproxy.conf new file mode 100644 index 0000000..2117739 --- /dev/null +++ b/system-user-roleproxy.conf @@ -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 - |