Files
bd2/tools/server/bd2-docker-update.service
T
Flechazo 04296dc409 fix(all): use explicit configuration and repair update status
Remove redundant environment overrides, unify plugin configuration, and fix cross-drive downloads.

Track completed update checks and bundled schedule identities. Restore the previous GameData contract for update verification.
2026-10-16 23:09:15 +08:00

19 lines
435 B
Desktop File

[Unit]
Description=Switch bd2server to the requested immutable image
After=network-online.target docker.service
Wants=network-online.target
Requires=docker.service
StartLimitIntervalSec=300
StartLimitBurst=3
[Service]
Type=oneshot
User=root
Group=root
UMask=0077
ExecStart=/opt/bd2/bd2-docker-update.sh
# Builds can exceed the default oneshot timeout. flock also covers manual runs.
TimeoutStartSec=30min
TimeoutStopSec=30
Restart=no