call lircd2uinput-add after lircd has been started
This commit is contained in:
parent
2e8bd59576
commit
4b8ff236b5
@ -1047,7 +1047,7 @@ lircd0_socket: /var/run/lirc/lircd0
|
|||||||
**** Systemd Drop-in to start lircd2uinput with lircd
|
**** Systemd Drop-in to start lircd2uinput with lircd
|
||||||
#+BEGIN_SRC conf :tangle roles/yavdr-remote/templates/lircd.service.d/lircd2uinput.conf.j2 :mkdirp yes :padline no
|
#+BEGIN_SRC conf :tangle roles/yavdr-remote/templates/lircd.service.d/lircd2uinput.conf.j2 :mkdirp yes :padline no
|
||||||
[Service]
|
[Service]
|
||||||
ExecStartPre=/usr/bin/lircd2uinput-add /var/run/lirc/lircd0
|
ExecStartPost=/usr/bin/lircd2uinput-add /var/run/lirc/lircd0
|
||||||
ExecStopPost=/usr/bin/lircd2uinput-remove /var/run/lirc/lircd0
|
ExecStopPost=/usr/bin/lircd2uinput-remove /var/run/lirc/lircd0
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
**** create /etc/rc_maps.cfg
|
**** create /etc/rc_maps.cfg
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
[Service]
|
[Service]
|
||||||
ExecStartPre=/usr/bin/lircd2uinput-add /var/run/lirc/lircd0
|
ExecStartPost=/usr/bin/lircd2uinput-add /var/run/lirc/lircd0
|
||||||
ExecStopPost=/usr/bin/lircd2uinput-remove /var/run/lirc/lircd0
|
ExecStopPost=/usr/bin/lircd2uinput-remove /var/run/lirc/lircd0
|
||||||
|
Loading…
Reference in New Issue
Block a user