docker-steemd/steemd.run

15 lines
269 B
Bash

#!/bin/bash
export HOME="/var/lib/steem"
# gen random pw for rpc server
RANDOMPW=$(dd if=/dev/urandom bs=10 count=1 status=none |
shasum | cut -b 1-20)
chown -R steem:steem $HOME
exec chpst -usteem \
steemd $ARGS \
$STEEMD_EXTRA_OPTS \
2>&1