summarylogtreecommitdiffstats
path: root/systemd-sysctl.hook
diff options
context:
space:
mode:
authorYurii Kolesnykov2018-03-27 16:13:43 +0300
committerYurii Kolesnykov2018-03-27 16:13:43 +0300
commit32bfc2a68a92ce414fe400b7f40b731745ad383f (patch)
tree47894b92d984f0197bc59f928c7245db7eb416cf /systemd-sysctl.hook
parent8f1da96a9df35a43ae1417cb72c49c8201a58ea8 (diff)
downloadaur-32bfc2a68a92ce414fe400b7f40b731745ad383f.tar.gz
238
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 00000000000..348bb03152b
--- /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