We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e63e04b commit f47321cCopy full SHA for f47321c
1 file changed
_scripts/clean-start.sh
@@ -45,6 +45,7 @@ ALL_PORTS=(
45
8091 # Admin panel
46
9000 # Auth server
47
9001 # Mail helper
48
+ 9999 # MailDev SMTP
49
1111 # Profile server
50
1112 # Profile static
51
1113 # Profile worker
@@ -64,8 +65,9 @@ err() { echo -e "${RED}[clean]${NC} $*"; }
64
65
# ------------------------------------------------------------------ #
66
info "Stopping PM2 daemon..."
67
if command -v pm2 &>/dev/null; then
68
+ pm2 flush 2>/dev/null || true
69
pm2 kill 2>/dev/null || true
- info "PM2 killed."
70
+ info "PM2 logs flushed and daemon killed."
71
else
72
warn "pm2 not found, skipping."
73
fi
0 commit comments