diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2016-03-24 17:28:10 +0100 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2016-03-24 17:28:10 +0100 |
commit | 17b0a372a3d59de5dc8f6a59c7268a3846d88515 (patch) | |
tree | 4650129fe2ab4708a12e4a0911df72ad49ebfb15 /Makefile | |
parent | c710d8f7a96dbbb6d42a4afc96719216f766c833 (diff) |
Add restart policy
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,6 +21,6 @@ stop: start: docker run -d -v ${APP}:/go/src/dim13.org/goxy/data \ -p ${IP}:80:80 -p ${IP}:443:443 -p ${IP}:8080:8080 \ - --name ${APP} --net ${APP} ${TAG} + --name ${APP} --net ${APP} --restart unless-stopped ${TAG} restart: stop start |