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