From 79cfdabbe104295993249d1a6ae6c8c2035174fe Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 17 May 2022 16:08:45 +0200 Subject: [PATCH] fix: add systemd ExecStartPost attribute --- templates/etc/systemd/system/renovate.service.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/etc/systemd/system/renovate.service.j2 b/templates/etc/systemd/system/renovate.service.j2 index a9299a9..8fadbd1 100644 --- a/templates/etc/systemd/system/renovate.service.j2 +++ b/templates/etc/systemd/system/renovate.service.j2 @@ -13,5 +13,6 @@ OnFailure=status-email@%n.service [Service] Type=simple ExecStart={{ renovate_docker_compose_bin }} up +ExecStartPost={{ renovate_docker_compose_bin }} down --volumes ExecStop={{ renovate_docker_compose_bin }} down --volumes WorkingDirectory={{ renovate_dir }} \ No newline at end of file