1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2024-12-23 01:06:11 +00:00
g810-led/systemd/g810-led-scenarios.service

13 lines
343 B
Desktop File

[Unit]
Description=Logitech G810 Led Scenarios
[Service]
ExecStartPre=/usr/bin/cp /etc/g810-led/scenario /tmp/g810-led-scenario
ExecStartPre=/usr/bin/chmod 666 /tmp/g810-led-scenario
ExecStart=/usr/bin/g810-led --daemon /tmp/g810-led-scenario
ExecStopPost=/usr/bin/rm /tmp/g810-led-scenario
Type=forking
[Install]
WantedBy=multi-user.target