summarylogtreecommitdiffstats
path: root/30-systemd-sysctl.hook
diff options
context:
space:
mode:
authorAnthony Rabbito2022-01-30 18:01:18 -0500
committerAnthony Rabbito2022-01-30 18:03:16 -0500
commit914ac2fbaacad8aef7b212a030f821096e3812eb (patch)
treee79ef97ab7aa8925c8c7db876c05d1663cd74842 /30-systemd-sysctl.hook
downloadaur-914ac2fbaacad8aef7b212a030f821096e3812eb.tar.gz
first commit
Signed-off-by: Anthony Rabbito <hello@anthonyrabbito.com> fix missing file Signed-off-by: Anthony Rabbito <hello@anthonyrabbito.com>
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 000000000000..e2354c0b1563
--- /dev/null
+++ b/30-systemd-sysctl.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Type = Path
+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