11 lines
293 B
Django/Jinja
11 lines
293 B
Django/Jinja
#!/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"
|