Skip to content

Commit

Permalink
Update Docker scripts to use epoch time rather than timestamp steemit…
Browse files Browse the repository at this point in the history
mvandeberg committed Jun 8, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent d279df3 commit d9eb91a
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions contrib/startpaassteemd.sh
Original file line number Diff line number Diff line change
@@ -33,9 +33,8 @@ fi

NOW=`date +%s`
STEEMD_FEED_START_TIME=`expr $NOW - 1209600`
STEEMD_FEED_START_TIMESTAMP=`date --date=@$STEEMD_FEED_START_TIME +%Y-%m-%d:%H:%M:%S`

ARGS+=" --follow-start-feeds=\"$STEEMD_FEED_START_TIMESTAMP\""
ARGS+=" --follow-start-feeds=$STEEMD_FEED_START_TIME"

# overwrite local config with image one
cp /etc/steemd/fullnode.config.ini $HOME/config.ini
3 changes: 1 addition & 2 deletions contrib/steemd.run
Original file line number Diff line number Diff line change
@@ -54,9 +54,8 @@ fi

NOW=`date +%s`
STEEMD_FEED_START_TIME=`expr $NOW - 1209600`
STEEMD_FEED_START_TIMESTAMP=`date --date=@$STEEMD_FEED_START_TIME +%Y-%m-%d:%H:%M:%S`

ARGS+=" --follow-start-feeds=\"$STEEMD_FEED_START_TIMESTAMP\""
ARGS+=" --follow-start-feeds=$STEEMD_FEED_START_TIME"

# overwrite local config with image one
if [[ "$USE_FULL_WEB_NODE" ]]; then

0 comments on commit d9eb91a

Please sign in to comment.