Skip to content

Commit

Permalink
remove deploy script chown
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Dec 6, 2018
1 parent 54d3819 commit e89b5e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/prod/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ STOP_DROPPING="sleep 8 && $REMOTE_DIR/bin/prod/iptables-drop 0.8 && sleep 6 && $
if [ $mode = "main" ]; then
lilalog "Restart lichess"
RUN_DIR="/home/lichess"
SSH_COMMAND="$START_DROPPING && chown -R lichess:lichess $REMOTE_DIR && rm $RUN_DIR && ln -s $REMOTE_DIR $RUN_DIR && systemctl restart lichess && $STOP_DROPPING"
SSH_COMMAND="$START_DROPPING && rm $RUN_DIR && ln -s $REMOTE_DIR $RUN_DIR && systemctl restart lichess && $STOP_DROPPING"
echo $SSH_COMMAND
ssh $REMOTE $SSH_COMMAND
fi
Expand Down

0 comments on commit e89b5e8

Please sign in to comment.