teasense/temperato.service

16 lines
293 B
SYSTEMD
Raw Normal View History

2021-12-12 01:51:04 +00:00
[Unit]
Description=Temperato Service
[Service]
Environment=NOTIF_URL=<your gotify server>
ExecStart=python3 temperato.py
ExecReload=python3 temperato.py
KillMode=process
Restart=on-failure
Type=notify
WorkingDirectory=<your path>
[Install]
WantedBy=multi-user.target
Alias=temperato.service