summarylogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
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
+}