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 +u _roleproxy - "Salt NetBox Role Proxy" /var/lib/empty -