From 683458cb9a2c26e9e2e85cb26d17dac43105d9fb Mon Sep 17 00:00:00 2001 From: Alexander Batischev Date: Mon, 8 Feb 2021 23:51:03 +0300 Subject: fix: move ConditionPathExists into Unit section --- ansible/files/obnam.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/files/obnam.service b/ansible/files/obnam.service index d1886be..f30eb60 100644 --- a/ansible/files/obnam.service +++ b/ansible/files/obnam.service @@ -1,9 +1,9 @@ [Unit] Description=Obnam server +ConditionPathExists=/etc/obnam/server.yaml [Service] Type=simple -ConditionPathExists=/etc/obnam/server.yaml ExecStart=/bin/obnam-server /etc/obnam/server.yaml [Install] -- cgit v1.2.1