Does server supports hot reload for adding new users?
Maybe react on HUP signals
Not currently. I would prefer adding a new file containing users for a specific server configuration. Reload if file content has changed.
For Shadowsocks 2022, I would recommend using the same user PSK file format as shadowsocks-go: https://github.com/database64128/shadowsocks-go/blob/main/docs/upsks.json.
Note that shadowsocks-go uses SIGUSR1 as the reload signal, because SIGHUP can be sent to the process for other reasons: https://stackoverflow.com/questions/13337701/what-can-cause-sighup-to-be-generated
Please also keep in mind that, for #1626 and #1778, we could implement support for Shadowsocks Server Management API v1, which also provides user management.