Update entrypoint.sh
Browse files- 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 "---
|
|
|
|
|
|
|
|
|
|
| 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 |
|