ensure nss-lookup.target is hit after unbound starts

https://github.com/NLnetLabs/unbound/issues/296

this fixes volume hostname resolution on reboot
This commit is contained in:
Girish Ramakrishnan
2021-05-14 12:07:05 -07:00
parent 43642b2d60
commit a56766ab0e
2 changed files with 8 additions and 3 deletions
+4 -2
View File
@@ -1,7 +1,9 @@
[Unit]
Description=mount script for <%= name %>
Requires=network-online.target unbound.service
After=network-online.service unbound.service
<% if ( type === 'cifs' || type === 'nfs' || type === 'sshfs' ) { %>
Requires=unbound.service
After=unbound.service
<% } %>
[Mount]
What=<%= what %>