lirc: simplify scripts

This commit is contained in:
Lukas Rusak
2017-02-07 16:41:09 -08:00
parent 8e51cee404
commit 64a31b5378
4 changed files with 38 additions and 65 deletions

View File

@@ -6,11 +6,11 @@ Requires=lircd-defaults.service
ConditionPathExists=/storage/.cache/services/lircd.conf
[Service]
Type=oneshot
ExecStart=/usr/lib/libreelec/lircd_helper add %I
ExecStop=/usr/lib/libreelec/lircd_helper remove %I
Type=forking
ExecStart=/usr/lib/libreelec/lircd_helper %I
TimeoutStopSec=1
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target