Gitweb: http://git.fedorahosted.org/git/?p=dlm.git;a=commitdiff;h=79e87eb5913fcf93ad... Commit: 79e87eb5913fcf93addc81c044ef050977cc4b37 Parent: bddc503b1e1e56afcbcc02edded74f56b5157bb4 Author: Ferenc W��gner wferi@niif.hu AuthorDate: Mon Sep 28 13:41:26 2015 +0200 Committer: David Teigland teigland@redhat.com CommitterDate: Tue Jan 5 11:11:19 2016 -0600
Make systemd stop dlm on corosync restart
If corosync stops, dlm_controld exits anyway. This dependency makes this explicit. Also, syslog is socket-activated nowadays, and corosync already depends on the network, so those are superfluous.
Signed-off-by: Ferenc W��gner wferi@niif.hu --- init/dlm.service | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/init/dlm.service b/init/dlm.service index 198c8ce..598a8ae 100644 --- a/init/dlm.service +++ b/init/dlm.service @@ -1,6 +1,7 @@ [Unit] Description=dlm control daemon -After=syslog.target network.target corosync.service sys-kernel-config.mount +Requires=corosync.service sys-kernel-config.mount +After=corosync.service sys-kernel-config.mount
[Service] OOMScoreAdjust=-1000
cluster-commits@lists.fedorahosted.org