systemd wtf
Posted Sun 20 Sep 2015 05:06:13 PM CEST
Florian Lohoff
You need to know this. Today i set up a new notebook and i like
having a local DNS cache running. So i installed pdnsd and
naturally wanted it to be started so i issued a /etc/init.d/pdnsd start.
The log said - "disabled in /etc/default/pdnsd" so i edited that file to say "START_DAEMON=yes".
Then i tried /etc/init.d/pdnsd start again but nothing happened. No log
entry - not a running pdnsd.
The explanation is - Even though starting of the daemon failed you need to
tell systemd to actually stop it. So a /etc/init.d/pdnsd stop and start
solved it.
What the f***?