diff --git a/usr/share/doc/restic/mybackup-check.sh b/usr/share/doc/restic/mybackup-check.sh index a1276c2..0bead4a 100755 --- a/usr/share/doc/restic/mybackup-check.sh +++ b/usr/share/doc/restic/mybackup-check.sh @@ -1,3 +1,7 @@ #!/usr/bin/env bash -/usr/bin/restic check \ No newline at end of file +# pre action or use ExecStartPre + +/usr/bin/restic check + +# post action or adapt ExecStartPost \ No newline at end of file diff --git a/usr/share/doc/restic/mybackup-prune.sh b/usr/share/doc/restic/mybackup-prune.sh index 6583e41..22287e9 100755 --- a/usr/share/doc/restic/mybackup-prune.sh +++ b/usr/share/doc/restic/mybackup-prune.sh @@ -1,3 +1,7 @@ #!/usr/bin/env bash -/usr/bin/restic prune \ No newline at end of file +# pre action or use ExecStartPre + +/usr/bin/restic prune + +# post action or adapt ExecStartPost \ No newline at end of file