system/systemd/flask_libertacasa.service
Georg a7b59a951b Initial Systemd Service Run: 1/3
Signed-off-by: Georg <georg@lysergic.dev>
2021-07-21 12:34:32 +02:00

18 lines
473 B
Desktop File

[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