teasense/systemd/temperato-host.service

15 lines
235 B
SYSTEMD
Raw Normal View History

2022-04-09 09:07:09 +00:00
[Unit]
Description=Temperato Host Service
[Service]
Environment=FLASK_APP=web
ExecStart=flask run
ExecReload=flask run
KillMode=process
Restart=on-failure
Type=simple
WorkingDirectory=<your path>
[Install]
WantedBy=multi-user.target