mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02: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
10 lines
226 B
Bash
10 lines
226 B
Bash
#!/bin/sh
|
|
|
|
addgroup -S -g 82 www-data 2>/dev/null
|
|
addgroup -S nginx 2>/dev/null
|
|
adduser -S -D -H -h /var/www/localhost/htdocs -s /sbin/nologin -G nginx \
|
|
-g nginx nginx 2>/dev/null
|
|
addgroup nginx www-data 2>/dev/null
|
|
|
|
exit 0
|