]> git.proxmox.com Git - pve-sheepdog.git/blobdiff - debian/patches/add-service-start-condition.patch
updates for debian jessie, use systemd
[pve-sheepdog.git] / debian / patches / add-service-start-condition.patch
diff --git a/debian/patches/add-service-start-condition.patch b/debian/patches/add-service-start-condition.patch
new file mode 100644 (file)
index 0000000..10859b0
--- /dev/null
@@ -0,0 +1,12 @@
+Index: new/script/sheepdog.service.in
+===================================================================
+--- new.orig/script/sheepdog.service.in
++++ new/script/sheepdog.service.in
+@@ -2,6 +2,7 @@
+ Description=Sheepdog QEMU/KVM Block Storage
+ After=network.target
+ Wants=syslog.target
++ConditionFileIsExecutable=/usr/sbin/sheep
+ [Service]
+ EnvironmentFile=-@SYSCONFDIR@/default/sheepdog