2018-12-26 13:33:06 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Make errors visible upon `docker logs -f` command
|
|
|
|
exec 2>&1
|
|
|
|
|
|
|
|
[ -d /home/user ] || ARGS="-m"
|
2018-12-26 13:48:53 +00:00
|
|
|
id user >/dev/null 2>&1 || useradd -s /bin/bash ${ARGS} -d /home/user -u ${USER_ID:-1000} user
|
2018-12-26 13:33:06 +00:00
|
|
|
|
|
|
|
su -l user -c "LANG=C.UTF-8 LC_ALL=C.UTF-8 dogecoin-qt"
|