[OpenSIPS-Users] Query with respect to init script
Nick Altmann
nick at altmann.pro
Thu Jul 14 15:54:57 CEST 2016
Official packaging for centos uses specs and init-scripts from
packaging/fedora.
You may also use our official builds from http://yum.opensips.org .
If you mean centos6, start/stop commands are /etc/init.d/opensips start and
/etc/init.d/opensips stop .
If you have centos7, start/stop commands are systemctl start opensips and
systemctl stop opensips .
2016-07-14 16:38 GMT+03:00 Ramachandran, Agalya (Contractor) <
Agalya_Ramachandran at comcast.com>:
> Hi team,
>
>
>
> I have a query regarding opensips init script.
>
> After installing opensips, right now am using “*opensipsctl start/stop”*
> to start and stop the service.
>
> We are using centos for our project. My query is for centos we should use
> init script from *packaging/fedora* or *packaging/rpm*?
>
> I have placed the init script in /etc/init.d/opensips and changed the
> location to /usr/local/sbin and tried to start, but it didn’t.
>
> It says” PID file /var/run/opensips.pid not readable (yet?) after start”
>
> Which is the right command to start opensips ? Is it using *opensipsctl
> start/stop* or */etc/init.d/opensips start/stop*?
>
> And how to configure the right init script for centos and what should be
> done for make it working?
>
> Please clarify me.
>
>
>
> Regards,
>
> Agalya
>
>
>
> _______________________________________________
> 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/20160714/9e31d13a/attachment.htm>
More information about the Users
mailing list