nezha/script/entrypoint.sh
严浩 b994a52422
fix: use exec to properly handle container signals (#501)
- Replace direct command execution with exec to make app PID 1
- Ensures proper signal propagation in container
- Follows container best practices for process management
2024-12-01 00:47:41 +08:00

3 lines
123 B
Bash

#!/bin/sh
printf "nameserver 127.0.0.11\nnameserver 8.8.4.4\nnameserver 223.5.5.5\n" > /etc/resolv.conf
exec /dashboard/app