diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2014-02-14 14:37:19 +0100 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2014-02-14 14:37:19 +0100 |
commit | 554159d519ba5c523d506785d61d10374456a020 (patch) | |
tree | e57812167dde8d488e5f84c7ad5ac9956a0df562 /scripts/lvm2_cmirrord_systemd_red_hat.service.in | |
parent | 4210219a8bba1aee6a16d16f4c158fa46395b9dd (diff) | |
download | lvm2-554159d519ba5c523d506785d61d10374456a020.tar.gz |
systemd: do not use default dependencies for clvmd/cmirrord units
Do not use default dependencies that systemd adds to the units
so we have better control of when the service is started/stopped
and we don't end up with unexpected behaviour.
Diffstat (limited to 'scripts/lvm2_cmirrord_systemd_red_hat.service.in')
-rw-r--r-- | scripts/lvm2_cmirrord_systemd_red_hat.service.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lvm2_cmirrord_systemd_red_hat.service.in b/scripts/lvm2_cmirrord_systemd_red_hat.service.in index 4ca3eea90..16d38cec7 100644 --- a/scripts/lvm2_cmirrord_systemd_red_hat.service.in +++ b/scripts/lvm2_cmirrord_systemd_red_hat.service.in @@ -4,6 +4,8 @@ Documentation=man:cmirrord(8) Requires=corosync.service After=corosync.service Before=remote-fs.target +DefaultDependencies=no +Conflicts=shutdown.target [Service] Type=forking |