forked from subspacecloud/subspace
-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Description
We have a volume in our docker-compose that would mount the dnsmasq.conf file for subspace but it's being replaced by the entrypoint script on each restart. This condition needs to be refined a little to ignore the dnsmasq.conf file if it already exists.
Lines 196 to 209 in 1a2d4f2
| if ! test -d /etc/service/dnsmasq; then | |
| cat <<DNSMASQ >/etc/dnsmasq.conf | |
| # Only listen on necessary addresses. | |
| listen-address=${DNSMASQ_LISTEN_ADDRESS} | |
| # Never forward plain names (without a dot or domain part) | |
| domain-needed | |
| # Never forward addresses in the non-routed address spaces. | |
| bogus-priv | |
| # Allow extending dnsmasq by providing custom configurations. | |
| conf-dir=/etc/dnsmasq.d | |
| DNSMASQ |
Metadata
Metadata
Assignees
Labels
No labels