Service stops Automatically

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











up vote
0
down vote

favorite












I have installed artifactory and its running fine on and aws instance, but when I disconnect the service stops automatically,



I'm starting the service as service artifactory start



What I need is that the service needs to be up all the time when "instance is running".







share|improve this question
























    up vote
    0
    down vote

    favorite












    I have installed artifactory and its running fine on and aws instance, but when I disconnect the service stops automatically,



    I'm starting the service as service artifactory start



    What I need is that the service needs to be up all the time when "instance is running".







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have installed artifactory and its running fine on and aws instance, but when I disconnect the service stops automatically,



      I'm starting the service as service artifactory start



      What I need is that the service needs to be up all the time when "instance is running".







      share|improve this question












      I have installed artifactory and its running fine on and aws instance, but when I disconnect the service stops automatically,



      I'm starting the service as service artifactory start



      What I need is that the service needs to be up all the time when "instance is running".









      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 7 '17 at 8:03









      Xameer

      1




      1




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote













          As you're using systemd,



          I would prefer :



          sudo systemctl enable artifactory.service





          share|improve this answer



























            up vote
            0
            down vote













            Run sudo chkconfig artifactory on, this should enable it to start at boot.






            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%2f409412%2fservice-stops-automatically%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              1
              down vote













              As you're using systemd,



              I would prefer :



              sudo systemctl enable artifactory.service





              share|improve this answer
























                up vote
                1
                down vote













                As you're using systemd,



                I would prefer :



                sudo systemctl enable artifactory.service





                share|improve this answer






















                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  As you're using systemd,



                  I would prefer :



                  sudo systemctl enable artifactory.service





                  share|improve this answer












                  As you're using systemd,



                  I would prefer :



                  sudo systemctl enable artifactory.service






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Dec 7 '17 at 9:06









                  admstg

                  344




                  344






















                      up vote
                      0
                      down vote













                      Run sudo chkconfig artifactory on, this should enable it to start at boot.






                      share|improve this answer


























                        up vote
                        0
                        down vote













                        Run sudo chkconfig artifactory on, this should enable it to start at boot.






                        share|improve this answer
























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          Run sudo chkconfig artifactory on, this should enable it to start at boot.






                          share|improve this answer














                          Run sudo chkconfig artifactory on, this should enable it to start at boot.







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Dec 7 '17 at 10:34









                          Stephen Kitt

                          143k22310374




                          143k22310374










                          answered Dec 7 '17 at 8:22









                          BANJOSA

                          1485




                          1485



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f409412%2fservice-stops-automatically%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Popular posts from this blog

                              How to check contact read email or not when send email to Individual?

                              Displaying single band from multi-band raster using QGIS

                              How many registers does an x86_64 CPU actually have?