feat: DH-HIS Web Giao Ban Go v1.0.1 (Favicon, Exe icon, System Tray, Gitea auto-update)

This commit is contained in:
ongtrieuhau
2026-10-26 00:10:07 -07:00
commit 228d4d14df
32 changed files with 5914 additions and 0 deletions
Executable
+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if systemctl is-active --quiet web-giao-ban-go; then
echo "Dừng systemd service web-giao-ban-go..."
sudo systemctl stop web-giao-ban-go
exit 0
fi
PID=$(pgrep -f "$DIR/web-giao-ban" || true)
if [ -n "$PID" ]; then
echo "Đang dừng PID: $PID..."
kill $PID
sleep 1
echo "Đã dừng."
else
echo "Ứng dụng không chạy."
fi