How to debug old initd script under systemd?
Posted
by
Gene Vincent
on Super User
See other posts from Super User
or by Gene Vincent
Published on 2013-10-28T14:01:25Z
Indexed on
2013/10/28
16:00 UTC
Read the original article
Hit count: 237
I have an older initd script to start my application. It worked fine under older versions of SuSE, but fails on Open SuSE 12.3.
The strange thing is
cd /etc/init.d ; ./script start
works fine.
/etc/init.d/script start
shows a redirection to systemctl, but doesn't start my application (and also doesn't show any output from the initd script).
I don't see any log entries showing me what goes wrong. The only entry I see is in /var/log/messages saying the application was started.
How do I debug this ?
© Super User or respective owner