From b865b92390fc9d07ec3660b93749c703b0464e47 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 3 Feb 2019 14:59:09 +0100 Subject: backup@.service.in: define our custom exit codes --- backup@.service.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backup@.service.in b/backup@.service.in index c2410ac..3b2eb6c 100644 --- a/backup@.service.in +++ b/backup@.service.in @@ -6,3 +6,5 @@ After=network-online.target local-fs.target [Service] Type=simple ExecStart=#BINDIR#/backup %I +SuccessExitStatus=4 +RestartForceExitStatus=5 11 -- cgit v1.2.3-70-g09d2