upadted psiphon.config, run script, README

This commit is contained in:
Swarup Sengupta
2022-06-24 15:06:37 +05:30
parent 369033ba01
commit 2febacbed3
3 changed files with 14 additions and 10 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
#!/usr/bin/with-contenv sh
[[ ! -f ${DEF_CONFIG}/psiphon.config ]] && cp ${DEF_DEFAULTS}/psiphon.config ${DEF_CONFIG}/
[[ ! -d ${DEF_CONFIG}/osl ]] && mkdir ${DEF_CONFIG}/osl
[[ ! -d ${DEF_CONFIG}/remote_server_list ]] && mkdir ${DEF_CONFIG}/remote_server_list
chown -R ${DEF_USER}:${DEF_USER} ${DEF_CONFIG}
exec s6-setuidgid ${DEF_USER} ${DEF_APP}/psiphon -config ${DEF_CONFIG}/psiphon.config