[Unit] # One templated service for all three modes; the instance name (%i) is the # mode: stories, full or sweep. Description=Instagram archive sync (%i) Documentation=file:%h/gdl/TOOLING.md After=network-online.target Wants=network-online.target [Service] Type=oneshot ExecStart=%h/gdl/gdl-cron.sh %i # A sync has no deadline and the pacing is deliberately slow; a full sweep can # run for hours. Never let systemd kill one midway -- a half-published run is # the one state the publish step is designed to avoid. TimeoutStartSec=infinity Nice=10