diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2014-02-11 09:55:57 +0100 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2014-02-11 10:06:19 +0100 |
commit | ef91de2a0cc29dd66a93fc4fb0c873d67328dc7d (patch) | |
tree | 28aed096e571107d3f24ab049ce26b7be7882e7c /scripts/lvm2_cmirrord_systemd_red_hat.service.in | |
parent | a0d64554e6067edfcc4ed782d5e685cdd12ff894 (diff) | |
download | lvm2-ef91de2a0cc29dd66a93fc4fb0c873d67328dc7d.tar.gz |
systemd: add systemd unit for cmirrord
Diffstat (limited to 'scripts/lvm2_cmirrord_systemd_red_hat.service.in')
-rw-r--r-- | scripts/lvm2_cmirrord_systemd_red_hat.service.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/lvm2_cmirrord_systemd_red_hat.service.in b/scripts/lvm2_cmirrord_systemd_red_hat.service.in new file mode 100644 index 000000000..4ca3eea90 --- /dev/null +++ b/scripts/lvm2_cmirrord_systemd_red_hat.service.in @@ -0,0 +1,15 @@ +[Unit] +Description=Clustered LVM mirror log daemon +Documentation=man:cmirrord(8) +Requires=corosync.service +After=corosync.service +Before=remote-fs.target + +[Service] +Type=forking +ExecStart=@sbindir@/cmirrord +PIDFile=@CMIRRORD_PIDFILE@ +Restart=on-abort + +[Install] +WantedBy=multi-user.target |