1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2025-04-04 15:21:45 +00:00

Add systemd on resume service

This commit is contained in:
Sebastian Schlicht 2018-11-28 13:52:37 +01:00
parent 6a13362f3a
commit 67a36e2920

View File

@ -0,0 +1,12 @@
[Unit]
Description=Set G810 profile on resume
Before=sleep.target
StopWhenUnneeded=yes
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStop=/usr/bin/g810-led -p /etc/g810-led/profile
[Install]
WantedBy=sleep.target