This issue has been migrated from Redmine: https://dev.icinga.com/issues/13381
Created by kobmaki on 2016-12-02 08:40:37 +00:00
Status: Resolved (closed on 2016-12-13 11:06:33 +00:00)
Target Version: 2.4.0
Last Update: 2016-12-13 11:06:33 +00:00 (in Redmine)
Running the icingaweb2 as a standalone server, you have to add the option for the socket.
It would be nice to add a parameter in the config.ini for the listen socket.
One possibility is to add in the global section the parameter for socket. Another one is to create a special section like "web" for the socket.
E.g. in the config.ini:
socket = "0.0.0.0:5688"
If the feature is accepted, more things have to be discuss. Then I will send the patch for this feature.
2016-12-13 11:05:25 +00:00 by kobmaki 93b7b11
Make default listen address for CLI command web serve configureable
Signed-off-by: Eric Lippmann <firstname.lastname@example.org>
Updated by elippmann on 2016-12-02 14:03:49 +00:00
I like the idea. But I suggest to name the config section "standalone" and the option "listen".
Updated by kobmaki on 2016-12-02 14:42:08 +00:00
Here is the patch for the feature.
To use the feature in the stand alone version you should add to the config.ini the section
listen = "0.0.0.0:5688"
After this, the icingacli web serve will listen on the defined port.
Take care, not to run this as root. Primary run it as unprivileged.
Updated by elippmann on 2016-12-13 11:06:27 +00:00
Updated by kobmaki on 2016-12-13 11:06:33 +00:00
Applied in changeset 93b7b11.