# vps-manager 自动更新服务(oneshot,由 timer 触发) # 部署位置:/etc/systemd/system/vps-manager-update.service [Unit] Description=Update vps-manager from Gitea After=network-online.target Wants=network-online.target [Service] Type=oneshot # 用 bash 显式调用,不依赖脚本可执行位(避免编辑后 mode 丢失导致更新链路自毁) ExecStart=/bin/bash /opt/vps-manager/deploy/update.sh