summarylogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authornfnty2016-02-21 10:56:11 +0100
committernfnty2016-02-21 10:56:11 +0100
commit23fb6102ba5dfae8fe8f31e0e1ad417db9e5845b (patch)
treec2c22a12cb74388fc9656902a1ac237741e36b9d /install.sh
parente2285235201656e1f5905e7aaa8193730aa5a684 (diff)
downloadaur-23fb6102ba5dfae8fe8f31e0e1ad417db9e5845b.tar.gz
Rename and update install scripts
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/install.sh b/install.sh
new file mode 100644
index 000000000000..e507f72a7a5d
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,9 @@
+post_install() {
+ groupadd --gid 533 heka >/dev/null
+ useradd --uid 533 --gid heka --home-dir / --shell /usr/bin/false heka >/dev/null
+}
+
+post_remove() {
+ userdel heka &>/dev/null
+ groupdel heka &>/dev/null
+}