dogecoin/launch

10 lines
259 B
Plaintext
Raw Normal View History

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"
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"