snap config does not work
tg123 opened this issue · 5 comments
tg123 commented
@tg123 also, `snap set` will fail
Originally posted by @yujincheng08 in #165 (comment)
tg123 commented
fixed in release 1.2.2
yujincheng08 commented
@tg123 no. it's still not using the correct configuration. Please reopen it.
...
installed: 1.2.2 (136) 21MB -
# snap get sshpiperd port
22
# python3 -m http.server 2222
# snap restart sshpiperd
Restarted.
# snap logs sshpiperd
2023-08-15T08:59:11Z sshpiperd.sshpiperd[3383008]: time="2023-08-15T08:59:11Z" level=fatal msg="failed to listen for connection: listen tcp 0.0.0.0:2222: bind: address already in use"
2023-08-15T08:59:11Z systemd[1]: snap.sshpiperd.sshpiperd.service: Deactivated successfully.
tg123 commented
sorry
changed to snap set sshpiperd.port=1234
yujincheng08 commented
I see. But I need to reconfigure all settings...
tg123 commented
I see. But I need to reconfigure all settings...
sorry, i am with you
but the parameters changed a log from v0 to v1, have to put a namespace for parameters