summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-02-03 14:59:09 +0100
committerErich Eckner <git@eckner.net>2019-02-03 14:59:09 +0100
commitb865b92390fc9d07ec3660b93749c703b0464e47 (patch)
tree101fb939df49ceb3ca047860749b3c0ffc187b1d
parentaf2498312819651d74eed9f023999c380830979e (diff)
downloadhardlinkedBackups-b865b92390fc9d07ec3660b93749c703b0464e47.tar.xz
backup@.service.in: define our custom exit codes
-rw-r--r--backup@.service.in2
1 files changed, 2 insertions, 0 deletions
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