]>
Commit | Line | Data |
---|---|---|
d45bf2c6 JK |
1 | [Unit] |
2 | Description=Pacemaker High Availability Cluster Manager for Corosync stack | |
3 | ||
4 | After=corosync.target | |
5 | Requires=corosync.target | |
6 | ||
7 | [Install] | |
8 | WantedBy=multi-user.target | |
9 | ||
10 | [Service] | |
11 | Type=forking | |
12 | PIDFile=/var/run/pacemakerd.pid | |
13 | KillMode=process | |
14 | SysVStartPriority=23 | |
15 | EnvironmentFile=-/etc/sysconfig/pacemaker | |
16 | ExecStart=/usr/sbin/pacemakerd --pid-file=/var/run/pacemakerd.pid | |
17 | ||
18 | # Pacemaker can only exit after all managed services have shut down | |
19 | # A HA database could conceivably take even longer than this | |
20 | TimeoutSec=30min | |
21 | ||
22 | # Restart options include: no, on-success, on-failure, on-abort or always | |
23 | Restart=on-failure |