<div dir="ltr">Hi Roman,<div><br></div><div>This is by design.</div><div>When using systemd you MUST not demonize your services.</div><div>All services starts as a child of systemd, so it  knows you service pid (<span style="font-size:13px">-write-pid=no</span>) and all output from your service is redirected to a proper log (<span style="font-size:13px">--disable-syslog</span>)</div><div>Please take a look on the documentation of Centos7 about systemd for more information.</div><div><br></div><div>Regards</div><div class="gmail_extra"><div><div class="gmail_signature"><br>Ernesto Thorp<br></div></div><div class="gmail_signature"><br></div><div class="gmail_quote">On Sun, Nov 13, 2016 at 8:29 AM, Roman <span dir="ltr"><<a href="mailto:m.list@brom.in" target="_blank">m.list@brom.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-size:13px">Hello,</div><div style="font-size:13px"><br></div><div style="font-size:13px">pdns-recursor installed from powerdns-rec-40 repo.</div><div style="font-size:13px">Things looks a bit strange, # systemctl start pdns-recursor return "Job for pdns-recursor.service failed because a timeout was exceeded. See "systemctl status pdns-recursor.service" and "journalctl -xe" for details."</div><div style="font-size:13px"><br></div><div style="font-size:13px">but recursor is started in fact:</div><div style="font-size:13px"># ps -xa |grep pdns</div><div style="font-size:13px">12718 ?        Ssl    0:00 /usr/sbin/pdns_recursor --daemon=no --write-pid=no --disable-syslog</div><div style="font-size:13px">This comes from systemd script:</div><div style="font-size:13px"># grep ExecStart  /usr/lib/systemd/system/pdns-<wbr>recursor.service</div><div style="font-size:13px">ExecStart=/usr/sbin/pdns_recur<wbr>sor --daemon=no --write-pid=no --disable-syslog</div><div style="font-size:13px"><br></div><div style="font-size:13px">Is this bug? Why these options is "no"? </div><div style="font-size:13px">There are no such issues in CentOS 6, it start as daemon and work perfectly.</div><div style="font-size:13px">Thanks.</div></div>
<br>______________________________<wbr>_________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.<wbr>com</a><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" rel="noreferrer" target="_blank">https://mailman.powerdns.com/<wbr>mailman/listinfo/pdns-users</a><br>
<br></blockquote></div><br></div></div>