From cca755f7e128636144e7b25e95b599428880e654 Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Sun, 20 Mar 2022 22:35:28 +0100 Subject: [PATCH] Don't run service if vdirsyncer is not configured If vdirsyncer is not configured, simply exit with non-failure, since there's nothing to do. --- autovdirsyncer.service | 1 + 1 file changed, 1 insertion(+) diff --git a/autovdirsyncer.service b/autovdirsyncer.service index ef1d834..868d8fe 100644 --- a/autovdirsyncer.service +++ b/autovdirsyncer.service @@ -3,6 +3,7 @@ Description=Synchronize calendars and contacts Documentation=man:autovdirsyncer(1) [Service] +ExecCondition=/usr/bin/vdirsyncer showconfig ExecStart=/usr/lib/autovdirsyncer Slice=background.slice -- 2.38.5