mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-01 23:01:35 +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
12 lines
176 B
Bash
12 lines
176 B
Bash
#!/bin/sh
|
|
|
|
addgroup -S prosody 2>/dev/null
|
|
adduser -S -D \
|
|
-h /var/lib/prosody \
|
|
-s /sbin/nologin \
|
|
-G prosody \
|
|
-g "Prosody XMPP Server" \
|
|
prosody 2>/dev/null
|
|
|
|
exit 0
|