SwordArMor-gentoo-overlay/www-apps/netbox/files/netbox-rqworker.initd
Alarig Le Lay e8ec33fa66
www-apps/netbox: New package
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
2021-03-02 11:41:54 +01:00

14 lines
463 B
Plaintext

#!/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"
command=/usr/bin/python3
command_args="/opt/netbox/netbox/manage.py rqworker"
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