__netbox_{gunicorn,uwsgi}: add netbox ownership to config file
This commit is contained in:
parent
090a8f015e
commit
9d330a91bc
2 changed files with 4 additions and 2 deletions
|
@ -14,7 +14,8 @@ mkdir "$__object/files"
|
|||
|
||||
# gunicorn config file
|
||||
__file /opt/netbox/gunicorn.py \
|
||||
--mode 644 --source "$__object/files/gunicorn.py"
|
||||
--mode 644 --owner netbox \
|
||||
--source "$__object/files/gunicorn.py"
|
||||
|
||||
# install service file
|
||||
__systemd_unit gunicorn-netbox.service \
|
||||
|
|
|
@ -13,7 +13,8 @@ mkdir "$__object/files"
|
|||
# uwsgi config file
|
||||
# TODO maybe patching with __key_value cause of .ini ?
|
||||
__file /opt/netbox/uwsgi.ini \
|
||||
--mode 644 --source "$__object/files/uwsgi.ini"
|
||||
--mode 644 --owner netbox \
|
||||
--source "$__object/files/uwsgi.ini"
|
||||
|
||||
# install service file
|
||||
__systemd_unit uwsgi-netbox.service \
|
||||
|
|
Loading…
Reference in a new issue