Lennart Poettering wrote on 01/11/17 10:17: > On Mi, 01.11.17 17:59, 清辰 (624001...@qq.com) wrote: > >> Hi Lennart, >> That is important for me. Could you tell me that? > > I am sorry, but I don't understand the question? > >> This documentation says I can set by >> LimitCORE="0;0" >> >> >> But my request is: >> For example, now system hard limit of core is infinity, I want to set soft >> limit to infinity. >> But when hard limit is 0, I want to set soft limit to 0. >> when hard limit is 100, I want to set soft limit to 100.
From how I read it, the OP is asking for the syntax to set the soft limit in the .service file to whatever the current system-wide hard limit is. I'm afraid I'm not sure of the underlying concepts there to say whether this is supported (or indeed sensible) Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/ _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel