Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 17: | Zeile 17: | ||
WantedBy=default.target | WantedBy=default.target | ||
</syntaxhighlight> | |||
Enable systemd user job: | |||
<syntaxhighlight lang="BASH"> | |||
systemctl --user daemon-reload | |||
systemctl --user enable liquidcfg | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Version vom 18. Juni 2021, 09:10 Uhr
vim ~/.config/systemd/user/liquidcfg.service
# https://github.com/liquidctl/liquidctl/blob/master/docs/corsair-platinum-pro-xt-guide.md
[Unit]
Description=AIO startup service
[Service]
Type=oneshot
ExecStart=/home/henning/.local/bin/liquidctl initialize --pump-mode quiet
ExecStart=/home/henning/.local/bin/liquidctl --verbose set fan1 speed 22 20 25 30 27 50 30 100
ExecStart=/home/henning/.local/bin/liquidctl --verbose set fan2 speed 22 20 25 30 27 50 30 100
ExecStart=/home/henning/.local/bin/liquidctl --verbose set fan3 speed 22 20 25 30 27 50 30 100
[Install]
WantedBy=default.target
Enable systemd user job:
systemctl --user daemon-reload
systemctl --user enable liquidcfg