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