Skip to content

Question: how to reload config while ports are in use? #152

@KjellVerb

Description

@KjellVerb

I want to be able to add and remove ports on the fly, without impacting other ports.
The idea was to edit ser2net.yaml and then issue a "reload" command in the admin console, but this only works when all ports are disconnected. If a port is still open, this is the result:

Feb 05 12:27:56 DietPi ser2net[38798]: Got admin request, re-reading configuration
Feb 05 12:28:01 DietPi ser2net[38798]: ser2net: port.c:707: shutdown_port: Assertion `err == 0' failed.
Feb 05 12:28:01 DietPi systemd[1]: ser2net.service: Main process exited, code=killed, status=6/ABRT

Is there a way to achieve my goal of editing the config without impacting open connections?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions