diff options
author | Giancarlo Razzolini | 2016-08-10 17:41:31 -0300 |
---|---|---|
committer | Giancarlo Razzolini | 2016-08-10 17:41:31 -0300 |
commit | 4f9940a08656b2f3e4db9944b938b4e262e995ae (patch) | |
tree | 34a1362bf9b3c65c9b4acb61fbc3b1beeeab2d43 /memlockd.install | |
download | aur-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.install | 9 |
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 +} |