mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 03:12:08 +01:00
Now all invocations have following order of arguments (if present):
addgroup -S -g ... GROUP
adduser -S -u ... -D -H -h ... -s ... -G ... -g ... USER
9 lines
216 B
Bash
Executable File
9 lines
216 B
Bash
Executable File
#!/bin/sh
|
|
|
|
addgroup -S tinyproxy 2>/dev/null
|
|
adduser -S -D -H -h /var/run/tinyproxy -s /sbin/nologin -G tinyproxy \
|
|
-g "tinyproxy user" tinyproxy 2>/dev/null
|
|
|
|
# return with success even if user already exist
|
|
exit 0
|