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



------------------ ???????? ------------------
??????: "Lennart Poettering"<lenn...@poettering.net>; 
????????: 2017??11??1??(??????) ????3:48
??????: "????"<624001...@qq.com>; 
????: "Oliver Neukum"<oneu...@suse.com>; 
"systemd-devel"<systemd-devel@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, ???? (624001...@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
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to