aboutsummaryrefslogtreecommitdiffstats
path: root/community/domoticz/domoticz.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'community/domoticz/domoticz.pre-install')
-rw-r--r--community/domoticz/domoticz.pre-install3
1 files changed, 2 insertions, 1 deletions
diff --git a/community/domoticz/domoticz.pre-install b/community/domoticz/domoticz.pre-install
index 227206764f..6be1d39ab8 100644
--- a/community/domoticz/domoticz.pre-install
+++ b/community/domoticz/domoticz.pre-install
@@ -1,5 +1,6 @@
#!/bin/sh
-adduser -S -D -h /var/lib/domoticz -s /sbin/nologin -g domoticz domoticz 2>/dev/null
+addgroup -S domoticz 2>/dev/null
+adduser -S -D -h /var/lib/domoticz -s /sbin/nologin -G domoticz -g domoticz domoticz 2>/dev/null
exit 0