Newansage v0.4.0 is out
Guides / Reload the config

Reload the config

Apply config changes without a restart; only what changed touches the sessions.

ansage reload          # or SIGHUP, or systemctl reload ansage

A reload re-reads the file and applies only what changed:

ChangeEffect
added neighborconnects
removed neighborgets Cease 6/3
changed neighborreconnects with Cease 6/6
new import, export, default_route, or a changed filter it usesapplied to the running session, see below
new description or installnothing on the wire
own prefixesfollow the difference between the old and the new file

Because own prefixes follow the difference, a prefix withdrawn at runtime stays withdrawn.

A new export policy re-checks every route for that neighbor and sends only the difference. For a new import policy, ansage asks the neighbor to send its routes again (ROUTE-REFRESH), so the new filter sees them all; a neighbor without route refresh is reconnected instead. ansage reload lists these neighbors under "Neighbors updated without reconnecting". To see what a changed filter will do before you reload, use ansage test --offline.

The installer applies a new config the same way: checked with the new binary, then reloaded.

Esc to close