Add netbox role

Kinda ouroborosish if you think about it. Better don’t.
This commit is contained in:
Timotej Lazar 2024-05-28 12:32:28 +02:00
parent 43b9010126
commit c7a3513fa1
14 changed files with 379 additions and 0 deletions

View file

@ -0,0 +1,10 @@
#!/sbin/openrc-run
description="NetBox request queue worker"
command="{{ user_info.home }}/app/venv/bin/python3"
command_args="{{ user_info.home }}/app/netbox/manage.py rqworker high default low"
command_user="{{ user }}:{{ user }}"
command_background=true
pidfile="/run/${RC_SVCNAME}.pid"