10 lines
259 B
Bash
10 lines
259 B
Bash
#!/bin/sh
|
|
|
|
# Make errors visible upon `docker logs -f` command
|
|
exec 2>&1
|
|
|
|
[ -d /home/user ] || ARGS="-m"
|
|
id user >/dev/null 2>&1 || useradd -s /bin/bash "${ARGS}" -d /home/user -u ${USER_ID:-1000} user
|
|
|
|
su -l user -c "LANG=C.UTF-8 LC_ALL=C.UTF-8 dogecoin-qt"
|