zipusyan commited on
Commit
b1bd7d1
·
verified ·
1 Parent(s): c59f4dd

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +4 -1
entrypoint.sh CHANGED
@@ -26,6 +26,9 @@ fi
26
  rm -rf "$OP_CONFIG_DIR"
27
  ln -s "$OP_DATA_DIR/.opencode" "$OP_CONFIG_DIR"
28
 
29
- echo "--- Initialization Complete. Starting Supervisor ---"
 
 
 
30
  exec /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
31
 
 
26
  rm -rf "$OP_CONFIG_DIR"
27
  ln -s "$OP_DATA_DIR/.opencode" "$OP_CONFIG_DIR"
28
 
29
+ echo "--- Testing Nginx Configuration ---"
30
+ nginx -t 2>&1 || true
31
+
32
+ echo "--- Starting Supervisor ---"
33
  exec /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
34