mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-10-26 14:02:00 +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
8 lines
184 B
Bash
8 lines
184 B
Bash
#!/bin/sh
|
|
|
|
addgroup -S elastico 2>/dev/null
|
|
adduser -S -D -H -h /var/lib/elasticsearch -s /sbin/nologin -G elastico \
|
|
-g "added by apk for elasticsearch" elastico 2>/dev/null
|
|
|
|
exit 0
|