summaryrefslogtreecommitdiff
path: root/ansible/files/obnam.service
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/files/obnam.service')
-rw-r--r--ansible/files/obnam.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/ansible/files/obnam.service b/ansible/files/obnam.service
index 9d933aa..f30eb60 100644
--- a/ansible/files/obnam.service
+++ b/ansible/files/obnam.service
@@ -1,10 +1,10 @@
[Unit]
Description=Obnam server
+ConditionPathExists=/etc/obnam/server.yaml
[Service]
Type=simple
-ConditionPathExists=/etc/obnam/server.yaml
-ExecStart=/usr/bin/obnam-server /etc/obnam/server.yaml
+ExecStart=/bin/obnam-server /etc/obnam/server.yaml
[Install]
WantedBy=multi-user.target