Add service user definition
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
4923b43fed
commit
66bb3028e7
@ -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
|
||||
|
3
system-user-roleproxy.conf
Normal file
3
system-user-roleproxy.conf
Normal 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 -
|
Loading…
Reference in New Issue
Block a user