Skip to content

Commit

Permalink
Merge branch 'fix/exit-status-3' into 'main'
Browse files Browse the repository at this point in the history
fix/exit-status-3

See merge request proteus-projects/IT/ansible-role-restic_client!24
  • Loading branch information
Florian Schwär committed Sep 11, 2024
2 parents 290095a + 4c4bf3f commit 556887b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/restic-backup.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ ExecStart={{ restic_client_bin_dir }}/restic backup \
{# Do not start a backup run (ExecStart) when doing a systemd service reload.
Instead, run this arbitrary command which also proves the repo is working as expected. #}
ExecReload={{ restic_client_bin_dir }}/restic version
SuccessExitStatus=3 {#- https://restic.readthedocs.io/en/stable/075_scripting.html#exit-codes #}
SuccessExitStatus=3
EnvironmentFile={{ restic_client_config_dir }}/backup.conf
SyslogIdentifier=restic

0 comments on commit 556887b

Please sign in to comment.