servers/roles/netbox/templates/netbox-rq.initd.j2

11 lines
293 B
Plaintext
Raw Normal View History

#!/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"