mirror of
https://github.com/MatMoul/g810-led.git
synced 2026-10-25 08:18:14 +00:00
add systemd unit and udev rules
This commit is contained in:
1 parent
ea1fe0dfc3
commit
ca60b8172e
2 files changed
+24
No files matched your search
@@ -0,0 +1,14 @@
|
|||||||
|
[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
|
||||||
|
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Set Logitech G810 Led Profile
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/bin/g810-led -p /etc/g810-led/profile
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
Reference in new issue
Block a user