summarylogtreecommitdiffstats
path: root/ganglia.install
diff options
context:
space:
mode:
Diffstat (limited to 'ganglia.install')
-rw-r--r--ganglia.install14
1 files changed, 14 insertions, 0 deletions
diff --git a/ganglia.install b/ganglia.install
new file mode 100644
index 000000000000..8478939aabc7
--- /dev/null
+++ b/ganglia.install
@@ -0,0 +1,14 @@
+# Arg 1: the new package version
+post_install() {
+
+ # Create user and group
+ systemd-sysusers ganglia.conf
+}
+
+# Arg 1: the old package version
+post_remove() {
+
+ id ganglia >& /dev/null && userdel ganglia
+}
+
+# vim:set ts=2 sw=2 et: