[systemd-devel] systemctl is-active command returns inactive even if the unit does not exist

2018-01-24 Thread Kevin Hsu
inactive systemctl is-enabled non-exist.service Failed to get unit file state for non-exist.service: No such file or directory Best regards, Kevin Hsu ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Back trace systemd service unit by pid

2017-12-22 Thread Kevin Hsu
7-12-21 23:05 GMT+08:00 Tomasz Torcz 👁️ : > On Thu, Dec 21, 2017 at 01:48:29PM +0800, Kevin Hsu wrote: > > Hi folks, > > > > I am looking for a good way to backtrace systemd service by a process id. > > The "systemctl status " command is available to do the ma

[systemd-devel] Back trace systemd service unit by pid

2017-12-20 Thread Kevin Hsu
unit name. Is there any simple way instead of parsing results from "systemctl status" ? For example like > systemctl service-get 5566 > nginx.service Thanks, Kevin Hsu ___ systemd-devel mailing list systemd-devel@l