pallet.crate.limits-conf documentation

Configure the /etc/security/limits.conf file.

configure

fn

[{:keys [instance-id], :as options}]

Writes the limit.conf file.

server-spec

fn

[{:keys [entries config-file], :as settings} & {:keys [instance-id], :as options}]

Return a server spec for limits.conf configuration. See the settings function for options to the settings map

settings

fn

[{:keys [entries config-file instance-id], :as settings}]

Configure limits.conf settings. The :entries value is a sequence of maps and vectors. Each map must specify :domain, :type, :item and :value fields. Each vectors specifies strings for the fields (in domain, type, item, value order). The type and item values may optionally be keywords.

ulimit

fn

[entry & {:keys [instance-id], :as options}]

Declare a host entry. This may be called multiple times to build limits incrementally.

A host entry can be either a map with :domain, :type, :item and :value keys, or a vector specifying strings for the fields (in domain, type, item, value order). The type and item values may optionally be keywords.