11 lines
252 B
Bash
Executable File
11 lines
252 B
Bash
Executable File
#!/bin/bash
|
|
set -x
|
|
#
|
|
# Make errors visible upon `docker logs -f steam` command
|
|
#
|
|
exec 2>&1
|
|
|
|
id user >/dev/null 2>&1 || useradd -s /usr/sbin/nologin -d /home/user -u ${UID:-1000} user
|
|
[ -d /home/user/.ipfs ] || gosu user ipfs init
|
|
gosu user ipfs daemon
|