summarylogtreecommitdiffstats
path: root/murmur-snapshot-minimal.install
diff options
context:
space:
mode:
Diffstat (limited to 'murmur-snapshot-minimal.install')
-rw-r--r--murmur-snapshot-minimal.install25
1 files changed, 25 insertions, 0 deletions
diff --git a/murmur-snapshot-minimal.install b/murmur-snapshot-minimal.install
new file mode 100644
index 00000000000..fa1314e6706
--- /dev/null
+++ b/murmur-snapshot-minimal.install
@@ -0,0 +1,25 @@
+pre_install() {
+}
+
+post_install() {
+ getent group murmur > /dev/null || groupadd murmur
+ getent passwd murmur > /dev/null || useradd -g murmur -s /bin/false -d /nonexistent murmur
+
+ mkdir -p /var/lib/murmur /var/log/murmur /run/murmur
+ chown murmur:murmur /var/lib/murmur /var/log/murmur /run/murmur
+ chmod 750 /var/lib/murmur /var/log/murmur
+ chmod 755 /run/murmur
+}
+
+pre_upgrade() {
+}
+
+post_upgrade() {
+}
+
+pre_remove() {
+}
+
+post_remove() {
+}
+