summarylogtreecommitdiffstats
path: root/systemd-sysctl.hook
diff options
context:
space:
mode:
Diffstat (limited to 'systemd-sysctl.hook')
-rw-r--r--systemd-sysctl.hook11
1 files changed, 11 insertions, 0 deletions
diff --git a/systemd-sysctl.hook b/systemd-sysctl.hook
new file mode 100644
index 000000000000..348bb03152b5
--- /dev/null
+++ b/systemd-sysctl.hook
@@ -0,0 +1,11 @@
+[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
+NeedsTargets