]> git.proxmox.com Git - corosync-pve.git/blobdiff - debian/corosync.service
update to 2.3.4, recompile for Jessie with systemd
[corosync-pve.git] / debian / corosync.service
diff --git a/debian/corosync.service b/debian/corosync.service
new file mode 100644 (file)
index 0000000..300b563
--- /dev/null
@@ -0,0 +1,14 @@
+[Unit]
+Description=Corosync Cluster Engine
+ConditionKernelCommandLine=!nocluster
+ConditionPathExists=/etc/corosync/corosync.conf
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+ExecStart=/usr/share/corosync/corosync start
+ExecStop=/usr/share/corosync/corosync stop
+Type=forking
+
+[Install]
+WantedBy=multi-user.target