#!/usr/bin/env bash # pre action or use ExecStartPre /usr/bin/restic prune # post action or adapt ExecStartPost