debug old init.d script on Jessie with systemd

Michael Biebl biebl at debian.org
Sun Feb 15 21:50:21 GMT 2015


Am 15.02.2015 um 15:24 schrieb Thomas Koch:
> Hi,
> 
> I want to know, why sleepd (debian package) does not start. Before systemd I 
> put a set -x on top of the init.d script and look where the script exits.
> 
> Now the script exits in some systemd lsb script.
> 
> How can I get more info what's going on?
> 

I would first check the status of the service with
systemctl status sleepd.service and
journalctl -u sleepd.service

You can still add a set -x to the init script, to get a more verbose start.
Ideally, add that after the line

. /lib/lsb/init-functions


Then, start the service as usual, and check the output via
journalctl -u sleepd.service


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150215/b5470e8b/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list