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

13 lines
343 B
SYSTEMD
Raw Normal View History

2017-05-13 18:59:41 +00:00
[Unit]
Description=Logitech G810 Led Scenarios
[Service]
2017-05-14 16:55:16 +00:00
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
2017-05-13 18:59:41 +00:00
[Install]
WantedBy=multi-user.target