-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add a restart method to allow config updates to be applied via api #2895
Comments
As a workaround, we could suggest that users always deploy |
@diasdavid @Stebalien how about it? Right now the user experience of editing the node config via web UI is bad. You can edit it and save it, but you can't get it applied without going to the command line, killing an starting the process. We want Web UI to be able to "save & apply". A really nice thing this would unlock is to offer up the experimental features as toggle switches on the settings page so we can promote them and get more people using them. For the hyperlinkers this is in the same api quadrant as #1547 - API to reset config to defaults, as people may break their config and need a way back to the happy path. |
Seems like a very easy win to me :) 👍🏽 |
A restart command sounds reasonable. To make systemd users happy, we could also add a |
@Stebalien good idea! I think the daemon flag should be named |
I think you may have misunderstood the issue we're discussing. |
I was thinking of two commands |
I guess allowing an arbitrary exit code for |
Apparently this feature is a very low priority. |
Closing as not planned. |
The api allows for the node config to be changed via
config.set
andconfig.replace
and for stopping of the daemon process viastop
but there is no way to start or reload the service. To get config changes applied you must have some mechanism to restart the node.A
restart
method would allow the user to make config changes via webui and have them by applied by stopping and restarting the service.For bonus points
nginx
provides areload
command that allows the user to apply the config without stopping the service.The text was updated successfully, but these errors were encountered: