[systemd-devel] 回复: 回复: 回复: 回复: [systemd-de vel] sys temctl can't execute stop actually,whenservice isstarted by other way

Lennart Poettering lennart at poettering.net
Sat Oct 28 11:09:30 UTC 2017


On Sa, 28.10.17 15:29, 清辰 (624001899 at qq.com) wrote:

> Hi Lennart, 
> 
> 
> 'systemctl enable xxx.service' can let xxx.service be automatically
> started when host start. Can it make sure that 'systemctl stop
> xxx.service' will be executed automatically when host shutdown?

systemd keeps track of running services, and if a service is started
it is implied it is also stopped during shut down.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list