switch app service to use docker stop not down

This commit is contained in:
tolerryan
2026-08-05 06:11:54 +00:00
parent b6008750a6
commit 5f32725cc3
2 changed files with 3 additions and 2 deletions

View File

@@ -126,7 +126,7 @@
loop_control:
label: "{{ item.label }}"
throttle: 1
always:
- name: Ensure the application is started back up
ansible.builtin.systemd:

View File

@@ -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]