Any recommendations on how to edit shadowsocks-libev configs via cli script?
Because disabling and re-enabling this page's setup via the luci app for shadowsocks-libev seems to break it.
Edit:
Unless you think stopping/restarting the shadowsocks-libev service would work just as well, if not better.
Edit 2:
I found out which piece of the setup that the luci app breaks.
The luci app for shadowsocks-libev rewrites the ss_rules section of the setup's configuration file at "/etc/config/shadowsocks-libev" when disabling it and re-enabling it via luci.
I found it myself.
https://www.cyberciti.biz/faq/unix-linux-replace-string-words-in-many-files/
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.