<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Thank you very much for your answer.<div><br></div><div>After reading about starting system services I noticed I missed an important step of service installation:</div><div><br></div><div><div><font face="monospace">root@unbound:/# update-rc.d unbound defaults</font><br></div></div><div><br></div><div>After that service is up and running:</div><div><br></div><div><div><font face="monospace">root@unbound:/etc/init.d# service unbound start</font></div><div><font face="monospace">root@unbound:/etc/init.d# service unbound status</font></div><div><font face="monospace"><font color="#00ff00">● </font>unbound.service</font></div><div><font face="monospace"> Loaded: loaded (/etc/init.d/unbound; bad; vendor preset: enabled)</font></div><div><font face="monospace"> Drop-In: /run/systemd/generator/unbound.service.d</font></div><div><font face="monospace"> └─50-insserv.conf-$named.conf</font></div><div><font face="monospace"> Active: <font color="#00ff00">active (running)</font> since Tue 2020-12-29 15:11:22 -04; 1s ago</font></div><div><font face="monospace"> Docs: man:systemd-sysv-generator(8)</font></div><div><font face="monospace"> Process: 18176 ExecStart=/etc/init.d/unbound start (code=exited, status=0/SUCCESS)</font></div><div><font face="monospace"> Tasks: 1</font></div><div><font face="monospace"> Memory: 3.1M</font></div><div><font face="monospace"> CPU: 60ms</font></div><div><font face="monospace"> CGroup: /system.slice/unbound.service</font></div><div><font face="monospace"> └─18187 /usr/sbin/unbound</font></div><div><font face="monospace"><br></font></div><div><div><font face="monospace">Dec 29 15:11:22 dns-nmm-02 systemd[1]: Starting unbound.service...</font></div><div><font face="monospace">Dec 29 15:11:22 dns-nmm-02 unbound[18176]: * Starting DNS server unbound</font></div><div><font face="monospace">Dec 29 15:11:22 dns-nmm-02 unbound[18176]: /etc/init.d/unbound: 32: /etc/init.d/unbound: /usr/lib/unbound/package-helper: not found</font></div><div><font face="monospace">Dec 29 15:11:22 dns-nmm-02 unbound[18176]: /etc/init.d/unbound: 35: /etc/init.d/unbound: /usr/lib/unbound/package-helper: not found</font></div><div><font face="monospace">Dec 29 15:11:22 dns-nmm-02 unbound[18176]: ...done.</font></div><div><font face="monospace">Dec 29 15:11:22 dns-nmm-02 systemd[1]: Started unbound.service.</font></div><div><font face="monospace">Dec 29 15:11:22 dns-nmm-02 unbound[18187]: [18187:0] notice: init module 0: validator</font></div><div><font face="monospace">Dec 29 15:11:22 dns-nmm-02 unbound[18187]: [18187:0] notice: init module 1: iterator</font></div><div><font face="monospace">Dec 29 15:11:22 dns-nmm-02 unbound[18187]: [18187:0] info: start of service (unbound 1.13.0).</font></div></div></div><div><br></div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em ter., 29 de dez. de 2020 às 11:49, A. Schulze via Unbound-users <<a href="mailto:unbound-users@lists.nlnetlabs.nl">unbound-users@lists.nlnetlabs.nl</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Am 29.12.20 um 15:43 schrieb Paulo Roberto Tomasi via Unbound-users:<br>
<br>
> * then I've created the script /etc/init.d/unbound like this:<br>
<br>
> But it didn't work:<br>
> <br>
> service unbound start<br>
> Failed to start unbound.service: Unit unbound.service not found.<br>
<br>
try:<br>
chmod +x /etc/init.d/unbound<br>
/etc/init.d/unbound start<br>
<br>
you created an SYS-V init.d style start script and then asked systemd to start a service<br>
init.d and systemd do not necessarily have a relation...<br>
<br>
in general: this is not a unbound related issue. Read about starting system services.<br>
<br>
Andreas<br>
</blockquote></div>