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

清辰 624001899 at qq.com
Wed Nov 1 08:13:30 UTC 2017


But this documentations seems to not show how to get a hard limit in systemd.unit. Could you tell me how?



------------------ 原始邮件 ------------------
发件人: "Lennart Poettering"<lennart at poettering.net>; 
发送时间: 2017年11月1日(星期三) 下午3:48
收件人: "清辰"<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 executestopactually,whenservice isstarted by other way



On Di, 31.10.17 16:46, 清辰 (624001899 at qq.com) wrote:

> 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.

See the documentation:

https://www.freedesktop.org/software/systemd/man/systemd.exec.html#LimitCPU=

Lennart

-- 
Lennart Poettering, Red Hat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20171101/56b90a15/attachment-0001.html>


More information about the systemd-devel mailing list