<div dir="ltr">I'm using CentOS so had not looked in the other package folders for a .service file.<div><br></div><div>Thanks.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 8 September 2015 at 08:32, Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for pointing that out, I had no idea we had a systemd script for Fedora. Perhaps we should consider moving it in a more visible place.<span class="im HOEnZb"><br>
<br>
Răzvan Crainea<br>
OpenSIPS Solutions<br>
<a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">www.opensips-solutions.com</a><br>
<br></span><div class="HOEnZb"><div class="h5">
On 09/08/2015 10:25 AM, Peter Lemenkov wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello All!<br>
Nabeel, you're very much mistaken :)<br>
OpenSIPS provides a systemd script for years (at least from 1.8.x).<br>
You should have check ./packaging/fedora first, since systemd was<br>
introduced there initially.<br>
<br>
* <a href="https://github.com/OpenSIPS/opensips/tree/1.8/packaging/fedora" rel="noreferrer" target="_blank">https://github.com/OpenSIPS/opensips/tree/1.8/packaging/fedora</a><br>
* <a href="https://github.com/OpenSIPS/opensips/tree/1.10/packaging/fedora" rel="noreferrer" target="_blank">https://github.com/OpenSIPS/opensips/tree/1.10/packaging/fedora</a><br>
* <a href="https://github.com/OpenSIPS/opensips/tree/master/packaging/fedora" rel="noreferrer" target="_blank">https://github.com/OpenSIPS/opensips/tree/master/packaging/fedora</a><br>
<br>
<br>
2015-09-07 21:14 GMT+03:00 Nabeel <<a href="mailto:nabeelshikder@gmail.com" target="_blank">nabeelshikder@gmail.com</a>>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
Most of my services have a .service file located at /usr/lib/systemd/system<br>
where I can set 'Restart=always' or 'After=mysql.service' /<br>
'After=mariadb.service' to make sure the server starts at the appropriate<br>
times.<br>
<br>
However, there is no such .service file for OpenSIPS. Please advise how to<br>
create this .service file for OpenSIPS. I heard about 'respawn' but don't<br>
know how exactly to use this and would prefer to use a .service file like<br>
other services.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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>
<br>
<br>
</blockquote>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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>
</div></div></blockquote></div><br></div>