mirror of
https://github.com/casjaysdevdocker/ampache
synced 2025-01-18 12:34:28 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
This commit is contained in:
parent
d9b7fc0c95
commit
43e6944301
@ -526,7 +526,7 @@ __create_service_user() {
|
|||||||
fi
|
fi
|
||||||
if ! __check_for_user "$create_user"; then
|
if ! __check_for_user "$create_user"; then
|
||||||
echo "creating system user $create_user"
|
echo "creating system user $create_user"
|
||||||
useradd --force --system -u $create_uid -g $create_group -c "Account for $create_user" -d "$create_home_dir" -s /bin/false $create_user 2>/dev/stderr | tee -p -a "$LOG_DIR/init.txt" >/dev/null
|
useradd --system -u $create_uid -g $create_group -c "Account for $create_user" -d "$create_home_dir" -s /bin/false $create_user 2>/dev/stderr | tee -p -a "$LOG_DIR/init.txt" >/dev/null
|
||||||
fi
|
fi
|
||||||
grep -qs "$create_group" "/etc/group" || exitStatus=$((exitCode + 1))
|
grep -qs "$create_group" "/etc/group" || exitStatus=$((exitCode + 1))
|
||||||
grep -qs "$create_user" "/etc/passwd" || exitStatus=$((exitCode + 1))
|
grep -qs "$create_user" "/etc/passwd" || exitStatus=$((exitCode + 1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user