Browse Source

Change borg backup service file to type=simple

pull/1750/head
Ewan 3 years ago
parent
commit
194b953993
No known key found for this signature in database GPG Key ID: 8B0E1F1D53FCA026
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      roles/matrix-backup-borg/templates/systemd/matrix-backup-borg.service.j2

+ 1
- 1
roles/matrix-backup-borg/templates/systemd/matrix-backup-borg.service.j2 View File

@@ -11,7 +11,7 @@ Wants={{ service }}
DefaultDependencies=no DefaultDependencies=no


[Service] [Service]
Type=oneshot
Type=simple
Environment="HOME={{ matrix_systemd_unit_home_path }}" 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 }} 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' ExecStartPre=-{{ matrix_host_command_sh }} -c '{{ matrix_host_command_docker }} rm matrix-backup-borg 2>/dev/null || true'


Loading…
Cancel
Save