<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi, Nabeel, Aron!<br>
      <br>
      Steve Frécinaux from BeIP added support for Jessie and systemd[1],
      but it is only available on the master branch. However, you can
      easily use it for other branches too.<br>
      <br>
      [1]
<a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/blob/master/packaging/debian/opensips.service">https://github.com/OpenSIPS/opensips/blob/master/packaging/debian/opensips.service</a><br>
      <br>
      Best regards,<br>
    </tt>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 09/08/2015 01:00 AM, Podrigal, Aron
      wrote:<br>
    </div>
    <blockquote
cite="mid:CANJp-yjLEF+BU9_eBgTcu9UpYtvBcHvW82=r76H3EjRy2aOioA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Sorry, after a quick look, I see daemon-reload only
        scans for scripts and does not generate .service files. However,
        systemd knows how to start and stop LSB type init scripts. I've
        been using 1.11.x branch so there wasn't a opensips.service
        there. There is a service file here <a moz-do-not-send="true"
href="https://github.com/OpenSIPS/opensips/blob/master/packaging/debian/opensips.service">https://github.com/OpenSIPS/opensips/blob/master/packaging/debian/opensips.service</a></div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Sep 7, 2015 at 5:45 PM,
          Podrigal, Aron <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:aronp@guaranteedplus.com" target="_blank">aronp@guaranteedplus.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <p dir="ltr">Opensips still uses sysv LSB init scripts. So
              there won't be any .service installed automatically.
              However I think you can generate  a .service file for
              opensips after installing the sysv init script by  issuing
              the following command.</p>
            <p dir="ltr">systemctl daemon-reload</p>
            <div class="gmail_quote">
              <div>
                <div class="h5">On Sep 7, 2015 2:15 PM, "Nabeel" &lt;<a
                    moz-do-not-send="true"
                    href="mailto:nabeelshikder@gmail.com"
                    target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:nabeelshikder@gmail.com">nabeelshikder@gmail.com</a></a>&gt;
                  wrote:<br type="attribution">
                </div>
              </div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div>
                  <div class="h5">
                    <div dir="ltr">Hi,
                      <div><br>
                      </div>
                      <div>Most of my services have a .service file
                        located at /usr/lib/systemd/system where I can
                        set 'Restart=always' or 'After=mysql.service' /
                        'After=mariadb.service' to make sure the server
                        starts at the appropriate times.</div>
                      <div><br>
                      </div>
                      <div>However, there is no such .service file for
                        OpenSIPS.  Please advise how to create this
                        .service file for OpenSIPS.  I heard about
                        'respawn' but don't know how exactly to use this
                        and would prefer to use a .service file like
                        other services.</div>
                    </div>
                    <br>
                  </div>
                </div>
                _______________________________________________<br>
                Users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                  rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                <br>
              </blockquote>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div class="gmail_signature">
          <div dir="ltr">
            <div>
              <div dir="ltr">Aron Podrigal
                <div>-</div>
                <div>'1000001', '1110010', '1101111', '1101110'  
                  '1010000', '1101111', '1100100', '1110010', '1101001',
                  '1100111', '1100001', '1101100'</div>
                <div><br>
                </div>
                <div>P: '2b', '31', '33', '34', '37', '34', '35', '38',
                  '36', '30', '39', '39'<br>
                </div>
                <div><br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>