Skip to content

Commit

Permalink
Remove exisiting swarm-{agent,manager}.service
Browse files Browse the repository at this point in the history
This closes #2.
  • Loading branch information
wzyboy committed May 16, 2016
1 parent 8ef8cd8 commit 5b13363
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Description=docker swarm agent
After=docker.service

[Service]
ExecStartPre=/usr/bin/docker rm -f %n
ExecStart=/usr/bin/docker run \
--name %n \
--rm \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Description=docker swarm manager
After=docker.service

[Service]
ExecStartPre=/usr/bin/docker rm -f %n
ExecStart=/usr/bin/docker run \
--name %n \
--rm \
Expand Down

0 comments on commit 5b13363

Please sign in to comment.