aboutsummaryrefslogtreecommitdiffstats
path: root/main/tinyproxy/tinyproxy.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/tinyproxy/tinyproxy.pre-install')
-rwxr-xr-xmain/tinyproxy/tinyproxy.pre-install4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/tinyproxy/tinyproxy.pre-install b/main/tinyproxy/tinyproxy.pre-install
index ffa4e65b8b..22cd241a60 100755
--- a/main/tinyproxy/tinyproxy.pre-install
+++ b/main/tinyproxy/tinyproxy.pre-install
@@ -1,6 +1,8 @@
#!/bin/sh
-adduser -h /var/run/tinyproxy -s /bin/false -D tinyproxy 2>/dev/null
+addgroup -S tinyproxy 2>/dev/null
+adduser -S -s /bin/false -D -H -h /var/run/tinyproxy -G tinyproxy \
+ -g "tinyproxy user" tinyproxy 2>/dev/null
# return with success even if user already exist
exit 0