- deploy/ops-dashboard-updater/update.sh: git pull → docker build → force-recreate → smoke-test - deploy/ops-dashboard-updater/install.sh: installs script + systemd units to host - ops-dashboard-updater.service / .timer: oneshot + daily 03:00 scheduled trigger - README.md: Installation and Configuration sections (env files, ops-agent, updater) - docs/runbooks/recovery.md: agent-crash, DB corruption/restore, container failure, cert expiry Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
14 lines
320 B
Desktop File
14 lines
320 B
Desktop File
[Unit]
|
|
Description=Self-update ops-dashboard (oneshot, triggered by timer or SSH)
|
|
After=network.target docker.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=root
|
|
ExecStart=/opt/ops-dashboard-updater/update.sh
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=ops-dashboard-update
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|