Start/stop evo-node (webserver) independently of evostreamms daemon
Hi all,
For various reasons, I would like to be able to stop/start evo-webserver (evo-node processes) without stopping evostreamms main daemon.
Has anyone ever tried to do that?
The problem is that when I launch evo-node (at that point I only have evostreamms main process running):
/usr/bin/evo-node /usr/bin/node-ews/node-ews.js $(id -u evostreamms) $(id -g evostreamms) $(pgrep evostreamms) /etc/evostreamms/webconfig.json
it initializes properly but finally ends up with the message “nodeEWS quitted.” just after a “Run:GO! GO! GO!”, and no explanation at all.
Do you have an explanation?
It is EMS 2.0
Thanks,
Emmanuel.
3 Answers
Hi Emmanuel,
The evo-webserver is a custom web server tightly coupled with the EMS providing a number of http streaming related APIs (e.g., group name aliasing) and features such as api proxy, to name a few. By design, it is intended to be a child process of the EMS, where, during spawn, the latter sets up internal variables, flags, watchdog timers and whatnot.
So running the evo-webserver outside of the EMS will not work.
Thanks.
Z
The evo-webserver is a custom web server tightly coupled with the EMS providing a number of http streaming related APIs (e.g., group name aliasing) and features such as api proxy, to name a few. By design, it is intended to be a child process of the EMS, where, during spawn, the latter sets up internal variables, flags, watchdog timers and whatnot.
So running the evo-webserver outside of the EMS will not work.
Thanks.
Z
Hi Xai,
OK, I understand. Would it be possible then to have a reload option to make EMS and/or evo-webserver read again a configuration file. In particular I would like to be able to reload my webconfig.json when I renew a certificate.
Thanks,
Emmanuel.