How is the execution order of processes determined for fields like ExecStartPre being specified in original and overriden systemd service files?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I want to override a systemd service file to add a process started by ExecStartPre. The original service already starts two processes with ExecStartPre. Is my added process started before or after the two processes already specified in the original service description?







share|improve this question
























    up vote
    0
    down vote

    favorite












    I want to override a systemd service file to add a process started by ExecStartPre. The original service already starts two processes with ExecStartPre. Is my added process started before or after the two processes already specified in the original service description?







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I want to override a systemd service file to add a process started by ExecStartPre. The original service already starts two processes with ExecStartPre. Is my added process started before or after the two processes already specified in the original service description?







      share|improve this question












      I want to override a systemd service file to add a process started by ExecStartPre. The original service already starts two processes with ExecStartPre. Is my added process started before or after the two processes already specified in the original service description?









      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 23 at 22:45









      thomas

      25517




      25517




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          Building a minimal example for ExecStartPre showed that the processes added by overriding are executed after the processes specified in the original service file.



          (tested version was systemd 236)






          share|improve this answer






















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            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',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f419214%2fhow-is-the-execution-order-of-processes-determined-for-fields-like-execstartpre%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            Building a minimal example for ExecStartPre showed that the processes added by overriding are executed after the processes specified in the original service file.



            (tested version was systemd 236)






            share|improve this answer


























              up vote
              1
              down vote



              accepted










              Building a minimal example for ExecStartPre showed that the processes added by overriding are executed after the processes specified in the original service file.



              (tested version was systemd 236)






              share|improve this answer
























                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                Building a minimal example for ExecStartPre showed that the processes added by overriding are executed after the processes specified in the original service file.



                (tested version was systemd 236)






                share|improve this answer














                Building a minimal example for ExecStartPre showed that the processes added by overriding are executed after the processes specified in the original service file.



                (tested version was systemd 236)







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 25 at 2:21

























                answered Jan 23 at 22:52









                thomas

                25517




                25517






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f419214%2fhow-is-the-execution-order-of-processes-determined-for-fields-like-execstartpre%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    Peggy Mitchell

                    Palaiologos

                    The Forum (Inglewood, California)