Fix systemd drop-in ExecStopCommand
This commit is contained in:
parent
ec0234f938
commit
2e8bd59576
@ -1048,7 +1048,7 @@ lircd0_socket: /var/run/lirc/lircd0
|
||||
#+BEGIN_SRC conf :tangle roles/yavdr-remote/templates/lircd.service.d/lircd2uinput.conf.j2 :mkdirp yes :padline no
|
||||
[Service]
|
||||
ExecStartPre=/usr/bin/lircd2uinput-add /var/run/lirc/lircd0
|
||||
ExecStartPre=/usr/bin/lircd2uinput-remove /var/run/lirc/lircd0
|
||||
ExecStopPost=/usr/bin/lircd2uinput-remove /var/run/lirc/lircd0
|
||||
#+END_SRC
|
||||
**** create /etc/rc_maps.cfg
|
||||
#+BEGIN_SRC conf :tangle roles/yavdr-remote/templates/rc_maps.cfg.j2 :mkdirp yes :padline no
|
||||
|
@ -1,3 +1,3 @@
|
||||
[Service]
|
||||
ExecStartPre=/usr/bin/lircd2uinput-add /var/run/lirc/lircd0
|
||||
ExecStartPre=/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