18 lines
473 B
SYSTEMD
18 lines
473 B
SYSTEMD
|
[Unit]
|
||
|
Description=Liberta.Casa Flask / Webregistration for IRCd
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
WorkingDirectory=/mnt/gluster01/web/liberta.casa/flask
|
||
|
Environment="PATH=/mnt/gluster01/web/liberta.casa/flask/.local/bin"
|
||
|
Type=simple
|
||
|
ExecStart=/mnt/gluster01/web/liberta.casa/flask/.local/bin/gunicorn -b localhost:8965 -w 3 flaskapp:app
|
||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||
|
Restart=always
|
||
|
User=flask
|
||
|
Group=flask
|
||
|
SyslogIdentifier=flask-lc
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|