netbox: service templates should use user/group from vars
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Markus 2021-11-08 17:29:25 +01:00
parent 15d3da93b2
commit 015e75fa2b
2 changed files with 4 additions and 4 deletions

View File

@ -7,8 +7,8 @@ Wants=network-online.target
[Service]
Type=simple
User=netbox
Group=netbox
User={{ netbox_user }}
Group={{ netbox_group }}
WorkingDirectory=/opt/netbox-{{ netbox_version }}
ExecStart=/opt/netbox-{{ netbox_version }}/venv/bin/python3 /opt/netbox-{{ netbox_version }}/netbox/manage.py rqworker

View File

@ -7,8 +7,8 @@ Wants=network-online.target
[Service]
Type=simple
User=netbox
Group=netbox
User={{ netbox_user }}
Group={{ netbox_group }}
PIDFile=/var/tmp/netbox.pid
WorkingDirectory=/opt/netbox-{{ netbox_version }}