Skip to content

Commit

Permalink
Add '--restart unless-stopped' to daemon startup (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
bobheadxi committed Jun 16, 2018
1 parent 3470b4e commit 4e67188
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/internal/compiled.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion client/scripts/daemon-up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ fi
# See the README for more details on how this works:
# https://github.com/ubclaunchpad/inertia#how-it-works
echo "Running daemon on port $DAEMON_PORT"
sudo docker run -d --rm \
sudo docker run -d \
--restart unless-stopped \
-p "$DAEMON_PORT":"$CONTAINER_PORT" \
-v /var/run/docker.sock:/var/run/docker.sock \
-v "$HOME":/app/host \
Expand Down

0 comments on commit 4e67188

Please sign in to comment.