[Unit] Description=Fan_Speed service [Service] # Hosts with an external disk shelf must exclude that HBA - the shelf has its # own cooling and must not drive server fans. Find the PCI address with # `ls /dev/disk/by-path/`; there is no way to infer it (see monitor.sh). # iz-pve1 needs this; iz-pve0 has no shelf and needs nothing. #Environment=DISK_EXCLUDE_PATTERN=pci-0000:04:00.0 ExecStart=/root/fan_speed/fan_speed.sh Restart=always RestartSec=10 [Install] WantedBy=multi-user.target