I built LIRC from source and got it installed. It's running as a systemd service on boot and works great. I can run irw and it displays the expected output. I can run ircat and it shows what is supposed to be run on the config line of the lircrc configuration file.
The problem I'm having is irexec. When I run it from the shell it works fine. When I run it manually by running systemctl start irexec.service it works fine. As soon as I reboot and it's supposed to start automatically, and it does, but it does not run my command; it does absolutely nothing. There's not even any error messages in the logs.
The weird thing is that if I restart irexec.service after boot, after it was already started, it works fine and runs my command perfectly. Any clue why this is happening?
This is the irexec.service file
[Unit]
Description=LIRC command handler
After=network.target
Wants=lircd.service
[Service]
Type=simple
ExecStart=/usr/bin/irexec /etc/lirc/lircrc
[Install]
WantedBy=multi-user.target
The irexec.service does always start after the lircd.service is already running.
EDIT I'm using LIRC 0.9.4-devel