Page MenuHomeClusterLabs Projects

No OneTemporary

diff --git a/lrmd/pacemaker_remote.service.in b/lrmd/pacemaker_remote.service.in
index f73e943103..c045a6d807 100644
--- a/lrmd/pacemaker_remote.service.in
+++ b/lrmd/pacemaker_remote.service.in
@@ -1,22 +1,21 @@
[Unit]
Description=Pacemaker Remote Service
After=network.target
-Requires=network.target
[Install]
WantedBy=multi-user.target
[Service]
Type=simple
KillMode=process
NotifyAccess=none
SysVStartPriority=99
EnvironmentFile=-/etc/sysconfig/pacemaker
ExecStart=@sbindir@/pacemaker_remoted
TimeoutStopSec=30s
TimeoutStartSec=30s
# Restart options include: no, on-success, on-failure, on-abort or always
Restart=on-failure
diff --git a/mcp/pacemaker.service.in b/mcp/pacemaker.service.in
index 3562608931..ebad32f7eb 100644
--- a/mcp/pacemaker.service.in
+++ b/mcp/pacemaker.service.in
@@ -1,57 +1,56 @@
[Unit]
Description=Pacemaker High Availability Cluster Manager
After=dbus.service
After=basic.target
After=syslog.service
After=network.target
After=corosync.service
Requires=dbus.service
Requires=basic.target
-Requires=network.target
Requires=corosync.service
[Install]
WantedBy=multi-user.target
[Service]
Type=simple
KillMode=process
NotifyAccess=main
SysVStartPriority=99
EnvironmentFile=-@sysconfdir@/sysconfig/pacemaker
EnvironmentFile=-@sysconfdir@/sysconfig/sbd
SuccessExitStatus=100
ExecStart=@sbindir@/pacemakerd -f
# If pacemakerd doesn't stop, its probably waiting on a cluster
# resource. Sending -KILL will just get the node fenced
SendSIGKILL=no
# If we ever hit the StartLimitInterval/StartLimitBurst limit and the
# admin wants to stop the cluster while pacemakerd is not running, it
# might be a good idea to enable the ExecStopPost directive below.
#
# Although the node will likely end up being fenced as a result so its
# not on by default
#
# ExecStopPost=/usr/bin/killall -TERM crmd attrd fenced cib pengine lrmd
# If you want Corosync to stop whenever Pacemaker is stopped,
# uncomment the next line too:
#
# ExecStopPost=/bin/sh -c 'pidof crmd || killall -TERM corosync'
# Uncomment this for older versions of systemd that didn't support
# TimeoutStopSec
# TimeoutSec=30min
# Pacemaker can only exit after all managed services have shut down
# A HA database could conceivably take even longer than this
TimeoutStopSec=30min
TimeoutStartSec=60s
# Restart options include: no, on-success, on-failure, on-abort or always
Restart=on-failure

File Metadata

Mime Type
text/x-diff
Expires
Sat, Nov 23, 7:12 AM (16 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1018384
Default Alt Text
(2 KB)

Event Timeline