summarylogtreecommitdiffstats
path: root/30-systemd-sysctl.hook
diff options
context:
space:
mode:
authorRanieri Althoff2019-11-06 16:42:05 -0300
committerRanieri Althoff2019-11-06 21:01:11 -0300
commit72313ffd52f59617a9285dc403e4b8e40e5e952a (patch)
treecb87763f6d888603bc8381967cc9fb6aec7f9eb9 /30-systemd-sysctl.hook
downloadaur-72313ffd52f59617a9285dc403e4b8e40e5e952a.tar.gz
Initial commit
Diffstat (limited to '30-systemd-sysctl.hook')
-rw-r--r--30-systemd-sysctl.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/30-systemd-sysctl.hook b/30-systemd-sysctl.hook
new file mode 100644
index 00000000000..aec5ac1b0e8
--- /dev/null
+++ b/30-systemd-sysctl.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Type = File
+Operation = Install
+Operation = Upgrade
+Target = usr/lib/sysctl.d/*.conf
+
+[Action]
+Description = Applying kernel sysctl settings...
+When = PostTransaction
+Exec = /usr/share/libalpm/scripts/systemd-hook sysctl