2017 May 22, 11:23 AM
Thanks Dan for taking the time to look into this.
For now the broker is locally installed to keep everything together and make things as simple as possible. In the future I want to use the broker I already use for my home automation system (and more) and want to integrate some SIP functions (start/stop/monitor) from there as well.
For the startup problem I tried the After= parameter but that unfortunately did not work well. I don't know why but it seems that when the mosquitto process is up it takes a little more time to become really alive. For now I added ExecStartPre=/bin/sleep 10 within [Service] which works ok but almost doubles the startup time of the Pi. But what's 20 seconds :-)
Hopefully SIP and the plugins will be actively maintained and if so, in time I might contribute some integration functionality.
--Gerard
For now the broker is locally installed to keep everything together and make things as simple as possible. In the future I want to use the broker I already use for my home automation system (and more) and want to integrate some SIP functions (start/stop/monitor) from there as well.
For the startup problem I tried the After= parameter but that unfortunately did not work well. I don't know why but it seems that when the mosquitto process is up it takes a little more time to become really alive. For now I added ExecStartPre=/bin/sleep 10 within [Service] which works ok but almost doubles the startup time of the Pi. But what's 20 seconds :-)
Hopefully SIP and the plugins will be actively maintained and if so, in time I might contribute some integration functionality.
--Gerard