From a1ee5f0e6ac73ea9cc57706114ed0b43d6c691fe Mon Sep 17 00:00:00 2001 From: Max Rees Date: Tue, 27 Aug 2019 19:05:42 -0500 Subject: user/mosquitto: new package In the future: * cunit may be added to run unit tests. * libwebsockets may be added for websocket support. --- user/mosquitto/mosquitto.pre-install | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 user/mosquitto/mosquitto.pre-install (limited to 'user/mosquitto/mosquitto.pre-install') diff --git a/user/mosquitto/mosquitto.pre-install b/user/mosquitto/mosquitto.pre-install new file mode 100644 index 000000000..ac36da04c --- /dev/null +++ b/user/mosquitto/mosquitto.pre-install @@ -0,0 +1,7 @@ +#!/bin/sh + +groupadd -r mosquitto 2>/dev/null +useradd -c mosquitto -s /sbin/nologin -g mosquitto \ + -m -d /var/empty -k /etc/skel -r mosquitto 2>/dev/null + +exit 0 -- cgit v1.2.3-70-g09d2