[Unit] Description=Update site files After=risotto.target [Service] Type=oneshot ExecStartPre=/usr/bin/timeout 60 bash -c 'while ! 3<> /dev/tcp/%%site_domain_name/3000; do sleep 1; done' ExecStart=/usr/local/lib/sbin/site_update [Install] WantedBy=multi-user.target