summaryrefslogtreecommitdiff
path: root/libre-testing/systemd/systemd-sysctl.hook
diff options
context:
space:
mode:
Diffstat (limited to 'libre-testing/systemd/systemd-sysctl.hook')
-rw-r--r--libre-testing/systemd/systemd-sysctl.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/libre-testing/systemd/systemd-sysctl.hook b/libre-testing/systemd/systemd-sysctl.hook
new file mode 100644
index 000000000..aec5ac1b0
--- /dev/null
+++ b/libre-testing/systemd/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