diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-10-17 10:21:48 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-10-17 14:54:48 +0200 |
commit | c02b6ee49637e0fe086c7ab25a2a9dc9130f5348 (patch) | |
tree | c811226a7800853a0afeb9af39fb06794e8ae100 /meson.build | |
parent | c8884aceefc85245b9bdfb626e2daf27521259bd (diff) | |
download | systemd-c02b6ee49637e0fe086c7ab25a2a9dc9130f5348.tar.gz systemd-c02b6ee49637e0fe086c7ab25a2a9dc9130f5348.tar.bz2 systemd-c02b6ee49637e0fe086c7ab25a2a9dc9130f5348.zip |
meson: define @HIGH_RLIMIT_NOFILE@ and use it everywhere
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meson.build b/meson.build index ee8ab1ae29..5d5783a591 100644 --- a/meson.build +++ b/meson.build @@ -75,6 +75,7 @@ conf.set10('HAVE_SYSV_COMPAT', sysvinit_path != '' and sysvrcnd_path != '', conf.set10('BUMP_PROC_SYS_FS_FILE_MAX', get_option('bump-proc-sys-fs-file-max')) conf.set10('BUMP_PROC_SYS_FS_NR_OPEN', get_option('bump-proc-sys-fs-nr-open')) +conf.set('HIGH_RLIMIT_NOFILE', 256*1024) # join_paths ignore the preceding arguments if an absolute component is # encountered, so this should canonicalize various paths when they are @@ -272,6 +273,7 @@ substs.set('SYSTEM_SYSVRCND_PATH', sysvrcnd_path) substs.set('RC_LOCAL_SCRIPT_PATH_START', get_option('rc-local')) substs.set('RC_LOCAL_SCRIPT_PATH_STOP', get_option('halt-local')) substs.set('MEMORY_ACCOUNTING_DEFAULT', memory_accounting_default ? 'yes' : 'no') +substs.set('HIGH_RLIMIT_NOFILE', conf.get('HIGH_RLIMIT_NOFILE')) ##################################################################### |