mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 01:50:19 +08:00
proxy
This commit is contained in:
parent
0fe8ce6e6f
commit
ff4394bb36
@ -7,7 +7,6 @@ RUN apt-get update && apt-get install -y curl jq
|
||||
COPY ./config/initproxy.conf /data/nginx/proxy_host/
|
||||
COPY ./s6/init_user/* /etc/s6-overlay/s6-rc.d/user/
|
||||
RUN chmod -R 755 /etc/s6-overlay/s6-rc.d/user
|
||||
|
||||
# COPY ./s6/init_user/init_user.sh /app/init_user.sh
|
||||
# RUN chmod +x /app/init_user.sh
|
||||
# CMD ["/bin/sh", "-c", "/app/init_user.sh && tail -f /dev/null"]
|
@ -50,6 +50,4 @@ echo "Save to credential"
|
||||
json="{\"username\":\"$username\",\"password\":\"$password\"}"
|
||||
echo "$json" > "$cred_path"
|
||||
|
||||
set -e
|
||||
|
||||
s6-svc -D /etc/s6-overlay/s6-rc.d/init_user
|
||||
set -e
|
@ -1,3 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
exec /etc/s6-overlay/s6-rc.d/init_user/init_user.sh
|
||||
[[ -f ./init_user.sh ]] && source ./init_user.sh
|
||||
pushd /root >/dev/null
|
||||
exec s6-svc -D /etc/s6-overlay/s6-rc.d/init_user
|
||||
popd
|
||||
|
Loading…
Reference in New Issue
Block a user