| 1 |
[Unit] |
| 2 |
Description=dlm control daemon |
| 3 |
Requires=corosync.service sys-kernel-config.mount |
| 4 |
After=corosync.service sys-kernel-config.mount |
| 5 |
Documentation=man:dlm_controld man:dlm.conf man:dlm_stonith |
| 6 |
|
| 7 |
[Service] |
| 8 |
OOMScoreAdjust=-1000 |
| 9 |
Type=notify |
| 10 |
NotifyAccess=main |
| •11 |
EnvironmentFile=-/etc/default/dlm |
| 12 |
ExecStartPre=/sbin/modprobe dlm |
| 13 |
ExecStart=/usr/sbin/dlm_controld --foreground $DLM_CONTROLD_OPTS |
| 14 |
#ExecStopPost=/sbin/modprobe -r dlm |
| 15 |
|
| 16 |
# If dlm_controld doesn't stop, there are active lockspaces. |
| 17 |
# Killing it will just get the node fenced. |
| 18 |
SendSIGKILL=no |
| 19 |
|
| 20 |
[Install] |
| 21 |
WantedBy=multi-user.target |
| 22 |
|