[Unit] Description=Xiaoshu nightly legacy sync with conflict protection and run report After=network-online.target Wants=network-online.target [Service] Type=oneshot WorkingDirectory=/opt/xiaoshu-angular EnvironmentFile=/etc/xiaoshu/legacy-sync-worker.env Environment=XIAOSHU_SYNC_REPORT_DIR=/var/lib/xiaoshu-legacy-sync ExecStart=/usr/bin/node scripts/run-nightly-direct-sync.mjs --scheduled TimeoutStartSec=50min User=xiaoshu Group=xiaoshu StateDirectory=xiaoshu-legacy-sync UMask=0077 NoNewPrivileges=true PrivateTmp=true