# This file is a drop-in addon for standard nginx Systemd service # Its purpose is to wait for Bind9 service to start # NOTE: It could be replaced by static name definitions (in /etc/hosts), but we'd rather have something dynamic [Unit] Wants=named.service After=named.service [Service] # We use ExecCondition because we want to sleep before nginx's default ExecStartPre (conf check) ExecCondition=/usr/bin/sleep 2