switch app service to use docker stop not down
This commit is contained in:
@@ -126,7 +126,7 @@
|
||||
loop_control:
|
||||
label: "{{ item.label }}"
|
||||
throttle: 1
|
||||
|
||||
|
||||
always:
|
||||
- name: Ensure the application is started back up
|
||||
ansible.builtin.systemd:
|
||||
|
||||
@@ -89,7 +89,8 @@
|
||||
User=docker
|
||||
WorkingDirectory=/apps/docker
|
||||
ExecStart=/usr/bin/docker compose -f docker-compose.yml up -d
|
||||
ExecStop=/usr/bin/docker compose -f docker-compose.yml down
|
||||
|
||||
ExecStop=/usr/bin/docker compose -f docker-compose.yml stop
|
||||
TimeoutStartSec=0
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in New Issue
Block a user