]>
Commit | Line | Data |
---|---|---|
c606a7b3 DM |
1 | [Unit] |
2 | Description=dlm control daemon | |
626480f0 DM |
3 | ConditionPathExists=/usr/sbin/dlm_controld |
4 | Requires=network-online.target | |
5 | After=network-online.target | |
6 | After=network-online.target corosync.service sys-kernel-config.mount | |
7 | DefaultDependencies=no | |
8 | Before=shutdown.target | |
9 | Conflicts=shutdown.target | |
c606a7b3 DM |
10 | |
11 | [Service] | |
12 | OOMScoreAdjust=-1000 | |
13 | Type=notify | |
14 | NotifyAccess=main | |
15 | EnvironmentFile=-/etc/default/dlm | |
16 | ExecStartPre=/sbin/modprobe dlm | |
17 | ExecStart=/usr/sbin/dlm_controld --foreground $DLM_CONTROLD_OPTS | |
18 | #ExecStopPost=/sbin/modprobe -r dlm | |
19 | ||
20 | [Install] | |
21 | WantedBy=multi-user.target | |
22 |