This repository has been archived on 2023-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
frontal-web-conf/wait-for-dns.conf

12 lines
417 B
Plaintext
Raw Normal View History

2022-05-24 11:42:45 +02:00
# 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