forked from FF-RGB/ansible
netbox: service templates should use user/group from vars
This commit is contained in:
parent
15d3da93b2
commit
015e75fa2b
@ -7,8 +7,8 @@ Wants=network-online.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
|
||||||
User=netbox
|
User={{ netbox_user }}
|
||||||
Group=netbox
|
Group={{ netbox_group }}
|
||||||
WorkingDirectory=/opt/netbox-{{ netbox_version }}
|
WorkingDirectory=/opt/netbox-{{ netbox_version }}
|
||||||
|
|
||||||
ExecStart=/opt/netbox-{{ netbox_version }}/venv/bin/python3 /opt/netbox-{{ netbox_version }}/netbox/manage.py rqworker
|
ExecStart=/opt/netbox-{{ netbox_version }}/venv/bin/python3 /opt/netbox-{{ netbox_version }}/netbox/manage.py rqworker
|
||||||
|
@ -7,8 +7,8 @@ Wants=network-online.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
|
||||||
User=netbox
|
User={{ netbox_user }}
|
||||||
Group=netbox
|
Group={{ netbox_group }}
|
||||||
PIDFile=/var/tmp/netbox.pid
|
PIDFile=/var/tmp/netbox.pid
|
||||||
WorkingDirectory=/opt/netbox-{{ netbox_version }}
|
WorkingDirectory=/opt/netbox-{{ netbox_version }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user