From 6a10963595effc0c7986707754adbec0499d5bbf Mon Sep 17 00:00:00 2001 From: Martin Bhuong Date: Fri, 12 Jul 2024 13:15:08 +0200 Subject: [PATCH] Add STart post to start migrations-Attempt --- imageroot/systemd/user/bigcapital-webapp.service | 1 + 1 file changed, 1 insertion(+) diff --git a/imageroot/systemd/user/bigcapital-webapp.service b/imageroot/systemd/user/bigcapital-webapp.service index 5d93fe8..d1f6ad6 100644 --- a/imageroot/systemd/user/bigcapital-webapp.service +++ b/imageroot/systemd/user/bigcapital-webapp.service @@ -22,6 +22,7 @@ ExecStart=/usr/bin/podman run --conmon-pidfile %t/bigcapital-webapp.pid \ --cidfile %t/bigcapital-webapp.ctr-id --cgroups=no-conmon \ --pod-id-file %t/bigcapital.pod-id --replace -d --name bigcapital-webapp \ ${WEBAPP_IMAGE} +ExecStartPost=/usr/bin/podman run --name bigcapital-migrations --env-file="" {BIGCAPITAL_MIGRATIONS_IMAGE} ExecStop=/usr/bin/podman stop --ignore --cidfile %t/bigcapital-webapp.ctr-id -t 10 ExecReload=/usr/bin/podman kill -s HUP bigcapital-webapp SyslogIdentifier=%u