mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
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.
This commit is contained in:
parent
4210219a8b
commit
554159d519
@ -3,7 +3,8 @@ Description=Clustered LVM volumes activation service
|
||||
Requires=lvm2-clvmd.service
|
||||
After=lvm2-clvmd.service lvm2-cmirrord.service
|
||||
OnFailure=lvm2-clvmd.service
|
||||
DefaultDependencies=false
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
@ -7,6 +7,8 @@ Requires=network.target dlm.service corosync.service
|
||||
RefuseManualStart=true
|
||||
RefuseManualStop=true
|
||||
StopWhenUnneeded=true
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user