# file: irtrans-lirc.service # # This service controls IRTrans Lirc compatibility. If the service enabled, /run/lirc/lircd # socket will be created to let IRTrans mimisc Lirc. [Unit] Description = IRTrans lirc compatibility BindsTo = %{name}.service Conflicts = lircd.service [Service] User = lirc Group = lirc RuntimeDirectory = lirc WorkingDirectory = %{_rundir}/lirc Type = oneshot RemainAfterExit = yes ExecStart = %{_bindir}/ln -f -s ../irtrans/lircd . ExecStop = %{_bindir}/rm -f lircd [Install] WantedBy = %{name}.service # end of file #