2021-12-12 01:51:04 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Temperato Service
|
|
|
|
|
|
|
|
[Service]
|
2022-02-27 08:54:02 +00:00
|
|
|
Environment=NOTIF_URL=<your mattermost incoming webhook>
|
|
|
|
Environment=CHANNEL_ID=<your mattermost channel id>
|
2021-12-12 01:51:04 +00:00
|
|
|
ExecStart=python3 temperato.py
|
|
|
|
ExecReload=python3 temperato.py
|
|
|
|
KillMode=process
|
|
|
|
Restart=on-failure
|
2021-12-12 13:03:23 +00:00
|
|
|
Type=simple
|
2021-12-12 01:51:04 +00:00
|
|
|
WorkingDirectory=<your path>
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
Alias=temperato.service
|