Correct ExecStart-Path for systemd-service

Also added correct dependency local-fs.target
But often the hwmon paths are still not resolved when the service starts ¯\_(ツ)_/¯
This commit is contained in:
Stefan Gehr 2021-08-02 00:05:21 +02:00
parent 35532b1eb7
commit e5cac912c1

View File

@ -1,8 +1,9 @@
[Unit] [Unit]
Description=amdfan controller Description=amdfan controller
Requires=graphical.target After=sysinit.target local-fs.target
[Service] [Service]
ExecStart=/usr/local/bin/amdfand service Restart=on-failure
Restart=always RestartSec=4
ExecStart=/usr/bin/amdfand service
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target