Why is irexec from LIRC not working properly on boot?Systemd can't start script?Systemd service start...

The English Debate

How do you justify more code being written by following clean code practices?

Does fire aspect on a sword, destroy mob drops?

Air travel with refrigerated insulin

What (if any) is the reason to buy in small local stores?

Why doesn't the fusion process of the sun speed up?

Hot air balloons as primitive bombers

Emojional cryptic crossword

How are passwords stolen from companies if they only store hashes?

Have any astronauts/cosmonauts died in space?

Did Nintendo change its mind about 68000 SNES?

UK Tourist Visa- Enquiry

Jem'Hadar, something strange about their life expectancy

Exit shell with shortcut (not typing exit) that closes session properly

Symbolism of 18 Journeyers

Would mining huge amounts of resources on the Moon change its orbit?

Why does Surtur say that Thor is Asgard's doom?

Writing in a Christian voice

Is this Pascal's Matrix?

Friend wants my recommendation but I don't want to give it to him

label a part of commutative diagram

Can other pieces capture a threatening piece and prevent a checkmate?

Why do I have a large white artefact on the rendered image?

How to determine the greatest d orbital splitting?



Why is irexec from LIRC not working properly on boot?


Systemd can't start script?Systemd service start errorHow do I figure out why systemctl service “systemd-modules-load” fails?networkd is not bringing eth0 up at bootStart a systemd user service at bootGenerated systemd unit does not start on bootiptables service fails with systemd because bind9 is not really readyWhen SSHD process started using systemctl process is terminated by systemd seconds laterSystemd service not workingByobu Systemd Error with ownership













1















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










share|improve this question
















bumped to the homepage by Community 12 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    1















    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










    share|improve this question
















    bumped to the homepage by Community 12 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      1












      1








      1








      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










      share|improve this question
















      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







      systemd lirc






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Oct 10 '15 at 8:01







      vane

















      asked Oct 10 '15 at 7:48









      vanevane

      2271413




      2271413





      bumped to the homepage by Community 12 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 12 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Had the same issue but in reverse,



          Changing the irexec.service file and using the systemctl commands does not seem to work to start and stop the service. A full reboot is needed.



          You seem to have forgotten the --daemon option.



          This is my irexec.service file:



          [Unit]
          Description=IR Remote irexec config .lircrc loaded on startup
          After=lircd.service
          Wants=lircd.service

          [Service]
          ExecStart=/usr/bin/irexec --daemon $HOME/.lircrc
          Type=forking

          [Install]
          WantedBy=multi-user.target





          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f984674%2fwhy-is-irexec-from-lirc-not-working-properly-on-boot%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            Had the same issue but in reverse,



            Changing the irexec.service file and using the systemctl commands does not seem to work to start and stop the service. A full reboot is needed.



            You seem to have forgotten the --daemon option.



            This is my irexec.service file:



            [Unit]
            Description=IR Remote irexec config .lircrc loaded on startup
            After=lircd.service
            Wants=lircd.service

            [Service]
            ExecStart=/usr/bin/irexec --daemon $HOME/.lircrc
            Type=forking

            [Install]
            WantedBy=multi-user.target





            share|improve this answer




























              0














              Had the same issue but in reverse,



              Changing the irexec.service file and using the systemctl commands does not seem to work to start and stop the service. A full reboot is needed.



              You seem to have forgotten the --daemon option.



              This is my irexec.service file:



              [Unit]
              Description=IR Remote irexec config .lircrc loaded on startup
              After=lircd.service
              Wants=lircd.service

              [Service]
              ExecStart=/usr/bin/irexec --daemon $HOME/.lircrc
              Type=forking

              [Install]
              WantedBy=multi-user.target





              share|improve this answer


























                0












                0








                0







                Had the same issue but in reverse,



                Changing the irexec.service file and using the systemctl commands does not seem to work to start and stop the service. A full reboot is needed.



                You seem to have forgotten the --daemon option.



                This is my irexec.service file:



                [Unit]
                Description=IR Remote irexec config .lircrc loaded on startup
                After=lircd.service
                Wants=lircd.service

                [Service]
                ExecStart=/usr/bin/irexec --daemon $HOME/.lircrc
                Type=forking

                [Install]
                WantedBy=multi-user.target





                share|improve this answer













                Had the same issue but in reverse,



                Changing the irexec.service file and using the systemctl commands does not seem to work to start and stop the service. A full reboot is needed.



                You seem to have forgotten the --daemon option.



                This is my irexec.service file:



                [Unit]
                Description=IR Remote irexec config .lircrc loaded on startup
                After=lircd.service
                Wants=lircd.service

                [Service]
                ExecStart=/usr/bin/irexec --daemon $HOME/.lircrc
                Type=forking

                [Install]
                WantedBy=multi-user.target






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 26 '16 at 13:26









                The DemzThe Demz

                1113




                1113






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f984674%2fwhy-is-irexec-from-lirc-not-working-properly-on-boot%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

                    Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

                    Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...