aboutsummaryrefslogtreecommitdiffstats
path: root/main/mosquitto/mosquitto.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/mosquitto/mosquitto.pre-install')
-rw-r--r--main/mosquitto/mosquitto.pre-install5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/mosquitto/mosquitto.pre-install b/main/mosquitto/mosquitto.pre-install
new file mode 100644
index 0000000000..026fe2c1c6
--- /dev/null
+++ b/main/mosquitto/mosquitto.pre-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+addgroup -S mosquitto 2>/dev/null
+adduser -S -H -h /var/empty -s /sbin/nologin -D -G mosquitto mosquitto 2>/dev/null
+exit 0