summaryrefslogtreecommitdiff
path: root/pcr/corosync/corosync.service
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-22 00:46:35 -0700
committerroot <root@rshg054.dnsready.net>2013-05-22 00:46:35 -0700
commitbdf2189826c1931878cedc2262f67f6fd3c0ef15 (patch)
tree36ebbf884af31c36516746e43961ddf1f88fd452 /pcr/corosync/corosync.service
parent4a7d2439a50adfa30bed83cc92ee80ec62476a20 (diff)
Wed May 22 00:46:35 PDT 2013
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