Is your issue only with automatic start after a boot? Can you start the service subsequently with e.g. sudo systemctl start nginx If so, systemctl is trying to start nginx initially before all its prerequisites are ready (don't know what exactly). Insert ExecStartPre=/usr/bin/sleep 20 before ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf in /lib/systemd/systby cryogenyx - Migration from Other Servers