On Wednesday 28 June 2017 02:08 PM, ???? wrote:

Is there a way to execute stop actually, even the status is inactive.

On Tue, 27.06.17 13:48, ???? (624001...@qq.com <mailto:624001...@qq.com>) wrote:

> for example: service nscd
> 1.execute: systemctl stop nscd.service
>   stop nscd process actually
> 2.execute: /usr/bin/nscd
>   start nscd by shell command

Why dont you (or your script) start it with:
systemctl start nscd

Then status and stop will also work as expected.

Amish.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to