summaryrefslogtreecommitdiffstats
path: root/main/bacula/bacula.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/bacula/bacula.pre-install')
-rw-r--r--main/bacula/bacula.pre-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/bacula/bacula.pre-install b/main/bacula/bacula.pre-install
new file mode 100644
index 000000000..bfac8567a
--- /dev/null
+++ b/main/bacula/bacula.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+addgroup -S bacula 2>/dev/null
+adduser -h /var/bacula/ -s /bin/false -G bacula -S -H -D bacula 2>/dev/null
+exit 0