Alarig Le Lay
e8ec33fa66
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
13 lines
432 B
Plaintext
13 lines
432 B
Plaintext
#!/sbin/openrc-run
|
|
# Copyright 2019 Sony Interactive Entertainment Inc.
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
description="netbox daemon"
|
|
command=/usr/bin/gunicorn
|
|
command_args="-c /etc/netbox/gunicorn_config.py netbox.wsgi"
|
|
command_user=netbox:netbox
|
|
directory=/opt/netbox/netbox
|
|
error_log=/var/log/netbox/"${RC_SVCNAME}".log
|
|
output_log=/var/log/netbox/"${RC_SVCNAME}".log
|
|
supervisor=supervise-daemon
|