[systemd-devel] /etc/initscript equivalent for systemd?

ccox@endlessnow.com ccox at endlessnow.com
Thu May 5 09:05:04 PDT 2011


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" <lennart at poettering.net>
Date: Thu, May 5, 2011 4:31 am
Subject: [systemd-devel] /etc/initscript equivalent for systemd?
To: <ccox at endlessnow.com>
Cc: <systemd-devel at lists.freedesktop.org>


On Tue, 03.05.11 11:05, ccox at endlessnow.com (ccox at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20110505/71f0d5a3/attachment.htm>


More information about the systemd-devel mailing list