summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Batischev <eual.jp@gmail.com>2021-02-08 23:51:03 +0300
committerAlexander Batischev <eual.jp@gmail.com>2021-02-08 23:51:03 +0300
commit683458cb9a2c26e9e2e85cb26d17dac43105d9fb (patch)
tree4494e1afa14fb1cf978396bbb1aaff7e09f140f9
parent6821844f2afe24501c93db7325697c45e377cfbf (diff)
downloadobnam2-683458cb9a2c26e9e2e85cb26d17dac43105d9fb.tar.gz
fix: move ConditionPathExists into Unit section
-rw-r--r--ansible/files/obnam.service2
1 files changed, 1 insertions, 1 deletions
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]