<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">On Sep 7, 2015 2:15 PM, "Nabeel" <<a href="mailto:nabeelshikder@gmail.com">nabeelshikder@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a 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>