2021-03-02 11:41:54 +01:00
|
|
|
#!/sbin/openrc-run
|
|
|
|
# Copyright 2019 Sony Interactive Entertainment Inc.
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
name="netbox-rqworker daemon"
|
|
|
|
description="nnetbox-rqworker daemon"
|
2024-08-27 16:07:52 +02:00
|
|
|
command=/opt/netbox/netbox/manage.py
|
|
|
|
command_args=rqworker
|
2021-03-02 11:41:54 +01:00
|
|
|
command_user=netbox:netbox
|
|
|
|
directory=/opt/netbox/netbox
|
|
|
|
error_log=/var/log/netbox/netbox-rcworker.log
|
|
|
|
output_log=/var/log/netbox/"${RC_SVCNAME}".log
|
|
|
|
supervisor=supervise-daemon
|