mirror of
https://github.com/MatMoul/g810-led.git
synced 2024-12-23 01:06:11 +00:00
15 lines
254 B
SYSTEMD
15 lines
254 B
SYSTEMD
|
[Unit]
|
||
|
Description=Set G810 profile on shutdown
|
||
|
DefaultDependencies=no
|
||
|
Before=shutdown.target reboot.target halt.target
|
||
|
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/usr/bin/g810-led -p /etc/g810-led/reboot
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=yes
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=shutdown.target
|
||
|
|