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 /units | |
parent | main: introduce a define HIGH_RLIMIT_MEMLOCK similar to HIGH_RLIMIT_NOFILE (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 'units')
-rw-r--r-- | units/systemd-journal-gatewayd.service.in | 2 | ||||
-rw-r--r-- | units/systemd-journal-remote.service.in | 2 | ||||
-rw-r--r-- | units/systemd-journal-upload.service.in | 2 | ||||
-rw-r--r-- | units/systemd-journald.service.in | 2 | ||||
-rw-r--r-- | units/systemd-logind.service.in | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/units/systemd-journal-gatewayd.service.in b/units/systemd-journal-gatewayd.service.in index 7530d4c2d..a51d59d10 100644 --- a/units/systemd-journal-gatewayd.service.in +++ b/units/systemd-journal-gatewayd.service.in @@ -32,7 +32,7 @@ LockPersonality=yes # If there are many split up journal files we need a lot of fds to access them # all in parallel. -LimitNOFILE=262144 +LimitNOFILE=@HIGH_RLIMIT_NOFILE@ [Install] Also=systemd-journal-gatewayd.socket diff --git a/units/systemd-journal-remote.service.in b/units/systemd-journal-remote.service.in index c1de676b5..fa8682cd2 100644 --- a/units/systemd-journal-remote.service.in +++ b/units/systemd-journal-remote.service.in @@ -34,7 +34,7 @@ LogsDirectory=journal/remote # If there are many split up journal files we need a lot of fds to access them # all in parallel. -LimitNOFILE=262144 +LimitNOFILE=@HIGH_RLIMIT_NOFILE@ [Install] Also=systemd-journal-remote.socket diff --git a/units/systemd-journal-upload.service.in b/units/systemd-journal-upload.service.in index b6920094f..1ded99087 100644 --- a/units/systemd-journal-upload.service.in +++ b/units/systemd-journal-upload.service.in @@ -34,7 +34,7 @@ StateDirectory=systemd/journal-upload # If there are many split up journal files we need a lot of fds to access them # all in parallel. -LimitNOFILE=262144 +LimitNOFILE=@HIGH_RLIMIT_NOFILE@ [Install] WantedBy=multi-user.target diff --git a/units/systemd-journald.service.in b/units/systemd-journald.service.in index 2c09a8b35..41cac8cf6 100644 --- a/units/systemd-journald.service.in +++ b/units/systemd-journald.service.in @@ -37,4 +37,4 @@ IPAddressDeny=any # If there are many split up journal files we need a lot of fds to access them # all in parallel. -LimitNOFILE=262144 +LimitNOFILE=@HIGH_RLIMIT_NOFILE@ diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in index 8b264ff29..961263f60 100644 --- a/units/systemd-logind.service.in +++ b/units/systemd-logind.service.in @@ -39,4 +39,4 @@ FileDescriptorStoreMax=512 # Increase the default a bit in order to allow many simultaneous logins since # we keep one fd open per session. -LimitNOFILE=262144 +LimitNOFILE=@HIGH_RLIMIT_NOFILE@ |