summaryrefslogtreecommitdiff
path: root/pcr/cluster-glue/ha-log.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/cluster-glue/ha-log.service')
-rw-r--r--pcr/cluster-glue/ha-log.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/pcr/cluster-glue/ha-log.service b/pcr/cluster-glue/ha-log.service
new file mode 100644
index 000000000..5115298d7
--- /dev/null
+++ b/pcr/cluster-glue/ha-log.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Non-blocking logging daemon.
+Requires=network.target remote-fs.target
+Before=heartbeat.service openais.service corosync.service
+
+[Service]
+Type=forking
+ExecStart=/usr/lib/heartbeat/ha_logd -d >/dev/null 2>&1
+ExecStop=/usr/lib/heartbeat/ha_logd -k >/dev/null 2>&1
+
+[Install]
+WantedBy=multi-user.target