Hank Liou | bf5dffe | 2019-05-24 10:27:08 +0800 | [diff] [blame] | 1 | [Unit] |
2 | Description=OpenBMC Fan Control Daemon | ||||
3 | After=xyz.openbmc_project.nvme.manager.service | ||||
4 | |||||
5 | [Service] | ||||
6 | Type=simple | ||||
7 | ExecStart=/usr/bin/fan-control.sh | ||||
8 | Restart=always | ||||
9 | RestartSec=5 | ||||
10 | StartLimitInterval=0 | ||||
11 | ExecStopPost=/usr/bin/fan-full-speed.sh | ||||
12 | |||||
13 | [Install] | ||||
14 | WantedBy=basic.target |