On Sa, 28.10.17 15:29, 清辰 (624001...@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 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel