add systemd unit
This commit is contained in:
parent
4dc337ab2d
commit
d4a6f5924e
1 changed files with 10 additions and 0 deletions
10
fand.service
Normal file
10
fand.service
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Fand fan controller
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/python3 /usr/lib/fand/fand.py
|
||||||
|
Restart=always
|
||||||
|
RestartSec=25
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue