3 ms·
I'd add something like After=network.target in the [Unit] section, or you could be in for a bad surprise after a reboot, when your service tries to start
by silverwind 12y ago
I'd add something like
After=network.target
in the [Unit] section, or you could be in for a bad surprise after a reboot, when your service tries to start before network comes up. Also, I doubt that systemd is available on 'all major' distros.
- nailer 12y agoCheers will do. Re major, Red Hat, Ubuntu, Debian and SuSE current stable releases all have systemd. That said AWS Linux doesn't have it.