Debian Codegraph @

debian/unbound.unbound-resolvconf.service

raw symbols SCIP
1 # This is a helper unit to register local unbound resolver daemon in
2 # resolv.conf. This is done asyncronously in order not to slow down
3 # the main unbound service startup, since this will trigger resolvconf
4 # reload of other services which might be a lengthly procedure.
5 # See #826241 for the origins of this service.
6 #
7 # Can this whole thing be done using ExecStartPost= in unbound.service?
8
9 [Unit]
10 Description=Unbound asyncronous resolvconf update helper
11 After=unbound.service
12 PartOf=unbound.service
13 ConditionFileIsExecutable=/sbin/resolvconf
14
15 [Service]
16 RemainAfterExit=yes
17 ExecStart=/usr/libexec/unbound-helper resolvconf_start
18 ExecStop=/usr/libexec/unbound-helper resolvconf_stop
19
20 [Install]
21 WantedBy=unbound.service