16 lines
293 B
Desktop File
16 lines
293 B
Desktop File
[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=simple
|
|
WorkingDirectory=<your path>
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=temperato.service
|