Skip to content

Commit 2386ab0

Browse files
committed
feat: moved to post exec
1 parent d5b9ea5 commit 2386ab0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

imageroot/systemd/user/mautic-app.service

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ ExecStart=/usr/bin/podman run --conmon-pidfile %t/mautic-app.pid \
3030
--volume mautic-cron:/opt/mautic/cron:z \
3131
--volume %S/bin/install:/install:z \
3232
--env-file=%S/state/app.env \
33-
${MAUTIC_IMAGE} /bin/bash -c "/install"
33+
${MAUTIC_IMAGE}
34+
ExecStartPost=/usr/bin/podman exec mautic-app /bin/bash -c "/install"
3435
ExecStop=/usr/bin/podman stop --ignore --cidfile %t/mautic-app.ctr-id -t 10
3536
ExecReload=/usr/bin/podman kill -s HUP mautic-app
3637
SyslogIdentifier=%u

0 commit comments

Comments
 (0)