summaryrefslogtreecommitdiff
path: root/www-apps/netbox/files/netbox.initd
blob: d0457a8372f29f4f5bc1845eed7ec19cdc2d4a0e (plain)
1
2
3
4
5
6
7
8
9
10
#!/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
supervisor=supervise-daemon