Restart Threads systemd service after deployment build

This commit is contained in:
2026-11-02 05:09:16 +09:00
parent 924f2e0506
commit 0d58170211
2 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -12,5 +12,6 @@ fi
sunrise_group=$(id -gn sunrise)
npm run build
install -d -o sunrise -g "$sunrise_group" -m 755 dist/threads-captures
systemctl restart sunrise-threads.service
echo 'Build complete; dist/threads-captures is writable by sunrise.'
echo 'Build complete; capture permissions restored and sunrise-threads.service restarted.'