[Unit] Description=flatpak Automatic Update Documentation=man:flatpak(1) [Service] Type=simple ExecStartPre=/bin/sh -c 'until ping -c1 google.com; do sleep 1; done;' ExecStart=/usr/bin/flatpak update -y