Created
September 29, 2019 18:16
-
-
Save dptsolutions/a364f820df71c7360cc18c052ffa59ff to your computer and use it in GitHub Desktop.
Systemd service file for running https://github.com/TomFreudenberg/dell-bios-fan-control at system startup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Simple tool to enable or disable the SMBIOS fan (auto) fan control on Dell laptops | |
After=network.target | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/local/bin/dell-bios-fan-control 0 | |
RemainAfterExit=yes | |
ExecStop=/usr/local/bin/dell-bios-fan-control 1 | |
StandardOutput=journal | |
# The install section is needed to use | |
# `systemctl enable` to start on boot | |
# For a user service that you want to enable | |
# and start automatically, use `default.target` | |
# For system level services, use `multi-user.target` | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NOTE
This assumes you've put a copy of the
dell-bios-fan-control
executable in /usr/local/bin