Skip to content

Commit

Permalink
pgyvpn
Browse files Browse the repository at this point in the history
  • Loading branch information
aozhuochao committed Nov 7, 2024
1 parent 3f93274 commit ef0260d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pgyvpn/pgyvpn-tinyproxy/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
mkdir -p /var/log/oray/
touch /var/log/oray/pgyvpn/pgyvistor.log

(sleep 2 && tail -f /var/log/oray/pgyvpn/pgyvistor.log | awk '{print "/var/log/oray/pgyvpn/pgyvistor.log--文件输出: " $0}') &
(sleep 2 && tail -f /var/log/oray/pgyvpn_svr/pgyvpnsvr.log | awk '{print "/var/log/oray/pgyvpn_svr/pgyvpnsvr.log--文件输出: " $0}') &

/one-exec.sh

supervisord -c /etc/supervisord.conf
# (sleep 1 && /usr/share/pgyvpn/script/pgystart) &

(sleep 2 && tail -f /var/log/oray/pgyvpn/pgyvistor.log | awk '{print "/var/log/oray/pgyvpn/pgyvistor.log--文件输出: " $0}') &
(sleep 2 && tail -f /var/log/oray/pgyvpn_svr/pgyvpnsvr.log | awk '{print "/var/log/oray/pgyvpn_svr/pgyvpnsvr.log--文件输出: " $0}') &

# supervisord -c /etc/supervisord.conf
(sleep 1 && /usr/share/pgyvpn/script/pgystart) &

exec /docker-tinyproxy-run.sh "$@"

Expand Down

0 comments on commit ef0260d

Please sign in to comment.