[arch-commits] Commit in filesystem/trunk (PKGBUILD sysctl)
Jan Steffens
heftig at archlinux.org
Tue Aug 21 13:48:23 UTC 2018
Date: Tuesday, August 21, 2018 @ 13:48:23
Author: heftig
Revision: 332746
2018.1-3: FS#47830 increase inotify limits
Added:
filesystem/trunk/sysctl
Modified:
filesystem/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++++--
sysctl | 3 +++
2 files changed, 9 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-21 13:20:29 UTC (rev 332745)
+++ PKGBUILD 2018-08-21 13:48:23 UTC (rev 332746)
@@ -4,7 +4,7 @@
pkgname=filesystem
pkgver=2018.1
-pkgrel=2
+pkgrel=3
pkgdesc='Base Arch Linux files'
arch=('x86_64')
license=('GPL')
@@ -17,7 +17,7 @@
'etc/shadow' 'etc/shells')
source=('crypttab' 'env-generator' 'fstab' 'group' 'gshadow' 'host.conf' 'hosts'
'issue' 'ld.so.conf' 'locale.sh' 'motd' 'nsswitch.conf' 'os-release'
- 'passwd' 'profile' 'resolv.conf' 'securetty' 'shadow' 'shells'
+ 'passwd' 'profile' 'resolv.conf' 'securetty' 'shadow' 'shells' 'sysctl'
'sysusers' 'tmpfiles')
md5sums=('5fa6674df7645d7f5895f2d12b4ef4e9'
'2b0344e9639f35f3c0d5637a23556089'
@@ -38,6 +38,7 @@
'f04bcb2803afc4dcb95670fe87343b4d'
'f64466dd77c7bec37a8b47681468211a'
'a78cd8d7f8240a8448edee82f503c34e'
+ 'a51847c012555c843dbdf8df0da171d3'
'af7832eabaac9804c22f1f2b53816a49'
'0267a3a463f35eec8a31f40a720dfd86')
@@ -110,6 +111,9 @@
done
ln -s ../man usr/local/share/man
+ # setup systemd-sysctl
+ install -D -m644 "$srcdir"/sysctl usr/lib/sysctl.d/10-arch.conf
+
# setup systemd-sysusers
install -D -m644 "$srcdir"/sysusers usr/lib/sysusers.d/arch.conf
Added: sysctl
===================================================================
--- sysctl (rev 0)
+++ sysctl 2018-08-21 13:48:23 UTC (rev 332746)
@@ -0,0 +1,3 @@
+# Raise inotify resource limits
+fs.inotify.max_user_instances = 1024
+fs.inotify.max_user_watches = 524288
More information about the arch-commits
mailing list