From 194b953993ceb40abe1f0751da25c4a53f3a865c Mon Sep 17 00:00:00 2001 From: Ewan Date: Wed, 13 Apr 2022 12:11:56 +0200 Subject: [PATCH] Change borg backup service file to type=simple --- .../templates/systemd/matrix-backup-borg.service.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/matrix-backup-borg/templates/systemd/matrix-backup-borg.service.j2 b/roles/matrix-backup-borg/templates/systemd/matrix-backup-borg.service.j2 index 76217250e..9b1dc0f64 100644 --- a/roles/matrix-backup-borg/templates/systemd/matrix-backup-borg.service.j2 +++ b/roles/matrix-backup-borg/templates/systemd/matrix-backup-borg.service.j2 @@ -11,7 +11,7 @@ Wants={{ service }} DefaultDependencies=no [Service] -Type=oneshot +Type=simple Environment="HOME={{ matrix_systemd_unit_home_path }}" ExecStartPre=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} kill matrix-backup-borg 2>/dev/null || true' ExecStartPre=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-backup-borg 2>/dev/null || true'