[systemd-devel] How to debug blocking service start?
Lennart Poettering
lennart at poettering.net
Fri Apr 3 09:13:27 PDT 2015
On Thu, 26.03.15 20:26, Kai Krakow (hurikhan77 at gmail.com) wrote:
> Kai Hendry <hendry at webconverger.com> schrieb:
>
> > Hi there,
> >
> > How do I figure out why or where something is stuck?
> > http://s.natalian.org/2015-03-25/systemd-start-issue.png
> >
> > `journalctl -u surf -f` prints nothing.
> >
> > Binary surf runs fine when I run it manually.
>
> It probably is not stuck, it's systemd waiting for the command to return.
> Try Type=simple to not let it wait. That is telling systemd, that the binary
> will not daemonize - athough it should be default according to [1].
Note that Type=simple is actually the implied default. Hence no need
to specify this explicitly.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list