[systemd-devel] 回复: 回复: 回复: 回复: 回复: [systemd-d e vel] sys temctl can't execute stopactually,whenservice isstarted by other way

清辰 624001899 at qq.com
Tue Oct 31 08:46:52 UTC 2017


Hi Lennart,
   Is there a way to get hard ulimit in systemd.unit. Because I want to set soft ulimit to hard ulimit value by LimitCORE.
   Thank you.




------------------ 原始邮件 ------------------
发件人: "Lennart Poettering"<lennart at poettering.net>; 
发送时间: 2017年10月28日(星期六) 晚上7:09
收件人: "清辰"<624001899 at qq.com>; 
抄送: "Oliver Neukum"<oneukum at suse.com>; "systemd-devel"<systemd-devel at lists.freedesktop.org>; 
主题: Re: 回复: 回复: [systemd-devel] 回复: 回复: [systemd-d e vel] sys temctl can't execute stopactually,whenservice isstarted by other way



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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20171031/cbb6eec7/attachment-0001.html>


More information about the systemd-devel mailing list