summarylogtreecommitdiffstats
path: root/dell-bios-fan-control-resume.service
blob: b98297dbb78b8df6a60a4e9daaf562c27d410155 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Restart dell-bios-fan-control on resume.
After=suspend.target
Wants=dell-bios-fan-control-resume.service

[Service]
Type=simple
# FIXME: need a sleep for some reason, otherwise the service does restart but
# it has no effect.
ExecStart=/bin/sh -c '/bin/sleep 30 && /bin/systemctl --no-block restart dell-bios-fan-control.service'

[Install]
WantedBy=suspend.target