Start/stop evo-node (webserver) independently of evostreamms daemon

Start/stop evo-node (webserver) independently of evostreamms daemon

Support ForumCategory: Usage and FeaturesStart/stop evo-node (webserver) independently of evostreamms daemon
Emmanuel Riou asked 6 years ago
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
xai Staff answered 6 years ago
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
Emmanuel Riou answered 6 years ago
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.  
xai Staff answered 6 years ago
Hi Emmanuel,

As it stands, any changes to any configuration file requires a restart of the EMS. Our apologies, but a reload option is not possible for now.
Thanks.

Z

Offcanvas

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.