Skip to content

Commit

Permalink
Update code to use the "docker compose" syntax vice "docker-compose"
Browse files Browse the repository at this point in the history
The "docker compose" syntax is the preferred (and only correct) syntax
after the changes in cisagov/ansible-role-docker#60.
  • Loading branch information
jsf9k committed Jun 7, 2022
1 parent dc5fbe9 commit 4c45825
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions files/guacamole-composition.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Requires=docker.service
[Service]
Restart=always
# Stop containers (if running) when unit is stopped
ExecStartPre=/usr/bin/docker-compose --file /var/guacamole/docker-compose.yml down
ExecStartPre=/usr/bin/docker compose --file /var/guacamole/docker-compose.yml down
# Start containers when unit is started
ExecStart=/usr/bin/docker-compose --file /var/guacamole/docker-compose.yml up
ExecStart=/usr/bin/docker compose --file /var/guacamole/docker-compose.yml up
# Stop container when unit is stopped
ExecStop=/usr/bin/docker-compose --file /var/guacamole/docker-compose.yml down
ExecStop=/usr/bin/docker compose --file /var/guacamole/docker-compose.yml down

[Install]
WantedBy=multi-user.target

0 comments on commit 4c45825

Please sign in to comment.