summarylogtreecommitdiffstats
path: root/memlockd.install
diff options
context:
space:
mode:
authorGiancarlo Razzolini2016-08-10 17:41:31 -0300
committerGiancarlo Razzolini2016-08-10 17:41:31 -0300
commit4f9940a08656b2f3e4db9944b938b4e262e995ae (patch)
tree34a1362bf9b3c65c9b4acb61fbc3b1beeeab2d43 /memlockd.install
downloadaur-4f9940a08656b2f3e4db9944b938b4e262e995ae.tar.gz
* Initial commit of the memlockd package.
* It contains a patch that adapts the default memlockd configuration to arch paths, but does not change the core of the configuration. * The patch also correct the systemd service file to reflect correct paths. * Also, it use systemd-sysusers to create delete the user memlockd uses for running.
Diffstat (limited to 'memlockd.install')
-rw-r--r--memlockd.install9
1 files changed, 9 insertions, 0 deletions
diff --git a/memlockd.install b/memlockd.install
new file mode 100644
index 000000000000..dde18527485a
--- /dev/null
+++ b/memlockd.install
@@ -0,0 +1,9 @@
+## arg 1: the new package version
+post_install() {
+ systemd-sysusers memlockd.conf
+}
+
+## arg 1: the new package version
+post_remove() {
+ userdel memlockd
+}