From 60437790a8257cb880557eeb5e91e85e0c886ed8 Mon Sep 17 00:00:00 2001 From: Horoli Date: Mon, 2 Nov 2026 12:23:28 +0900 Subject: [PATCH] build: restart sunrise PM2 process after build --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 110a132..339ddb6 100755 --- a/build.sh +++ b/build.sh @@ -13,6 +13,7 @@ sunrise_group=$(id -gn sunrise) git pull --ff-only npm run build install -d -o sunrise -g "$sunrise_group" -m 755 dist/threads-captures +pm2 restart sunrise systemctl restart sunrise-threads.service -echo 'Build complete; capture permissions restored and sunrise-threads.service restarted.' +echo 'Build complete; capture permissions restored, PM2 sunrise and sunrise-threads.service restarted.'