Updated base to swarupsengupta2007/alpine-s6

This commit is contained in:
Swarup Sengupta
2022-06-23 16:14:38 +05:30
parent b2432da543
commit 7666b6e78e
4 changed files with 12 additions and 22 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/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
exec s6-setuidgid ${DEF_USER} ${DEF_APP}/psiphon -config ${DEF_CONFIG}/psiphon.config