Mercurial > code > home > repos > infra
changeset 87:0409b3b0493f
attempt dnsmasq retry but i think it doesn't work
author | drewp@bigasterisk.com |
---|---|
date | Sun, 10 Jul 2022 19:07:17 -0700 |
parents | 5125b4dba449 |
children | dae714e8f620 |
files | templates/dnsmasq/dnsmasq.service.j2 |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/dnsmasq/dnsmasq.service.j2 Sun Jul 10 19:06:32 2022 -0700 +++ b/templates/dnsmasq/dnsmasq.service.j2 Sun Jul 10 19:07:17 2022 -0700 @@ -21,6 +21,9 @@ [Service] Type=simple +# 10.5 will not work until wg0 interface is actually up, so just let it retry +SuccessExitStatus=2 + # Test the config file and refuse starting if it is not valid. ExecStartPre=/usr/sbin/dnsmasq --conf-file=/opt/dnsmasq/{{ net }}/dnsmasq.conf --test