I think the right place is probably cgroups... I am surprised ulimits and 
cgroups hasn't come up before.... or maybe I am just not finding it.  
Sent from my HTC smartphone on the Now Network from Sprint!

----- Reply message -----
From: "Lennart Poettering" <lenn...@poettering.net>
Date: Thu, May 5, 2011 4:31 am
Subject: [systemd-devel] /etc/initscript equivalent for systemd?
To: <c...@endlessnow.com>
Cc: <systemd-devel@lists.freedesktop.org>


On Tue, 03.05.11 11:05, c...@endlessnow.com (c...@endlessnow.com) wrote:

> In sysvinit, at least on SLES and RHEL, you could use /etc/initscript as a
> mechansim to get "shell" control things like ulimits to take hold system
> wide, since /etc/initscript was invoked as a wrapper around all init
> scripts.
> 
> So.. where do we set system wide ulimits at in systemd?  Sounds like it
> has gotten more complicated (??).
> 
> Forgive me if this is a FAQ-like question... I didn't seen anything using
> Google to search the archives.

You can set the cpu affinity and cgroups default in system.conf (see
systemd.conf(5)). We can add more options like this if needed.

But quite frankly -- like Kay -- I'd like to hear the uses cases before
we do anything more in that direction.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to