Skip to content

Commit

Permalink
Merge pull request #58 from cisagov/bugfix/update-docker-compose-syntax
Browse files Browse the repository at this point in the history
Update code to use the "docker compose" syntax vice "docker-compose"
  • Loading branch information
jsf9k authored Jun 23, 2022
2 parents dc5fbe9 + 4c45825 commit cf93d24
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 cf93d24

Please # to comment.