| 1 |
[Unit] |
| 2 |
Description=Start fan control, if configured |
| 3 |
ConditionFileNotEmpty=/etc/fancontrol |
| 4 |
After=lm_sensors.service |
| 5 |
|
| 6 |
[Service] |
| 7 |
# added automatically, for details please see |
| 8 |
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort |
| 9 |
ProtectSystem=full |
| 10 |
ProtectHome=true |
| 11 |
ProtectHostname=true |
| 12 |
ProtectKernelLogs=true |
| 13 |
ProtectControlGroups=true |
| 14 |
RestrictRealtime=true |
| 15 |
# end of automatic additions |
| 16 |
Type=simple |
| 17 |
PIDFile=/run/fancontrol.pid |
| 18 |
ExecStart=/usr/sbin/fancontrol |
| 19 |
|
| 20 |
[Install] |
| 21 |
WantedBy=multi-user.target |