mirror of
https://github.com/TakeusV1/flask_ipam.git
synced 2026-10-14 01:15:33 +02:00
12 lines
338 B
Plaintext
12 lines
338 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
name="gunicorn-flask"
|
|
description="Gunicorn server for Flask app"
|
|
command="/usr/bin/gunicorn"
|
|
command_args="--workers 1 --bind 127.0.0.1:8000 'app:create_app()' --preload"
|
|
pidfile="/run/${name}.pid"
|
|
directory="/opt/fipam"
|
|
command_background="yes"
|
|
|
|
---------------------------------------------> /etc/init.d/flask-ipam
|