From 9bcffbaff3f109604f8d83a2fcdfdaff518e92c6 Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Fri, 13 Oct 2023 16:08:06 +0300 Subject: [PATCH] Fix godoor service restart --- ansible-doors.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible-doors.yml b/ansible-doors.yml index 693a37b..d089ca8 100644 --- a/ansible-doors.yml +++ b/ansible-doors.yml @@ -25,9 +25,9 @@ ExecStart=ctr run --rm --pid-file=/run/%N.pid --privileged --read-only --env-file=/etc/godoor --env=KDOORPI_API_ALLOWED=https://doorboy-proxy.k-space.ee/allowed --env=KDOORPI_API_LONGPOLL=https://doorboy-proxy.k-space.ee/longpoll --env=KDOORPI_API_SWIPE=https://doorboy-proxy.k-space.ee/swipe --env=KDOORPI_DOOR=%H --net-host --net-host --cwd /app $IMAGE %N /godoor ExecStopPost=ctr task rm %N ExecStopPost=ctr c rm %N + Restart=always [Install] WantedBy=multi-user.target - Restart=always - name: Enable Doorboy controller ansible.builtin.systemd: state: restarted