Create fanctrl.service
This commit is contained in:
parent
de01a48d26
commit
3ad884865b
1 changed files with 13 additions and 0 deletions
13
fanctrl.service
Normal file
13
fanctrl.service
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
[Unit]
|
||||||
|
Description=RockPro64 Fan Control
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
User=root
|
||||||
|
Type=idle
|
||||||
|
ExecStart=/home/jimmy/fancontrol.sh
|
||||||
|
Restart=on-failure
|
||||||
|
RestartSec=10s
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Loading…
Reference in a new issue