[OpenSIPS-Users] Restart=always and After=mysql.service
Nabeel
nabeelshikder at gmail.com
Wed Sep 9 03:11:25 CEST 2015
I'm using CentOS so had not looked in the other package folders for a
.service file.
Thanks.
On 8 September 2015 at 08:32, Răzvan Crainea <razvan at opensips.org> wrote:
> 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.
>
> Răzvan Crainea
> OpenSIPS Solutions
> www.opensips-solutions.com
>
> On 09/08/2015 10:25 AM, Peter Lemenkov wrote:
>
>> Hello All!
>> Nabeel, you're very much mistaken :)
>> OpenSIPS provides a systemd script for years (at least from 1.8.x).
>> You should have check ./packaging/fedora first, since systemd was
>> introduced there initially.
>>
>> * https://github.com/OpenSIPS/opensips/tree/1.8/packaging/fedora
>> * https://github.com/OpenSIPS/opensips/tree/1.10/packaging/fedora
>> * https://github.com/OpenSIPS/opensips/tree/master/packaging/fedora
>>
>>
>> 2015-09-07 21:14 GMT+03:00 Nabeel <nabeelshikder at gmail.com>:
>>
>>> Hi,
>>>
>>> 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.
>>>
>>> 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.
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150909/86f48835/attachment.htm>
More information about the Users
mailing list