Add [Install] to 'enable' the service

This commit is contained in:
Arszilla
2022-12-29 18:20:33 +02:00
parent 8c7b4db546
commit d35efba02b

View File

@@ -1,7 +1,10 @@
[Unit]
Description=Fan speed controller using autofan.sh
Description=HP Server Fan Speed Controller
[Service]
ExecStart=/bin/bash /autofan.sh
Restart=always
RestartSec=10s
ExecStart=/bin/bash /autofan.sh
[Install]
WantedBy=default.target