[Unit] Description=Converge - sync repos after waking from sleep Documentation=https://github.com/jbrechtel/converge After=network-online.target Wants=network-online.target [Service] Type=oneshot ExecStart=/usr/bin/converge --sync # Small delay as a safety net for environments (e.g. netctl) where # network-online.target may not gate properly on resume, giving the # network stack time to reconnect before converge attempts to pull. ExecStartPre=/bin/sleep 5 # Allow notify-send to reach the desktop session Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/bus [Install] WantedBy=default.target