summaryrefslogtreecommitdiff
path: root/pcr/corosync/corosync.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/corosync/corosync.service')
-rw-r--r--pcr/corosync/corosync.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/pcr/corosync/corosync.service b/pcr/corosync/corosync.service
new file mode 100644
index 000000000..e601181ee
--- /dev/null
+++ b/pcr/corosync/corosync.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Corosync Cluster Engine
+ConditionKernelCommandLine=!nocluster
+Requires=network.target
+After=network.target
+
+[Service]
+ExecStart=/usr/share/corosync/corosync start
+ExecStop=/usr/share/corosync/corosync stop
+Type=forking
+
+[Install]
+WantedBy=multi-user.target