[Unit]
Description=小虾 SaaS Staging 部署服务
After=network.target docker.service
Requires=docker.service

[Service]
Type=oneshot
WorkingDirectory=/var/lib/xiaoxia-saas-staging/repo/infra/docker
ExecStart=/var/lib/xiaoxia-saas-staging/repo/infra/docker/deploy-staging.sh
StandardOutput=append:/var/lib/xiaoxia-saas-staging/deploy.log
StandardError=append:/var/lib/xiaoxia-saas-staging/deploy.log
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target
