teasense/temperato.service

17 lines
359 B
Desktop File

[Unit]
Description=Temperato Service
[Service]
Environment=NOTIF_URL=<your mattermost incoming webhook>
Environment=CHANNEL_ID=<your mattermost channel id>
ExecStart=python3 temperato.py
ExecReload=python3 temperato.py
KillMode=process
Restart=on-failure
Type=simple
WorkingDirectory=<your path>
[Install]
WantedBy=multi-user.target
Alias=temperato.service