File: drbd.service

package info (click to toggle)
drbd-utils 9.15.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,464 kB
  • sloc: ansic: 47,782; xml: 11,374; cpp: 9,765; sh: 4,398; makefile: 1,020; perl: 353
file content (23 lines) | stat: -rw-r--r-- 588 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[Unit]
Description=DRBD -- please disable. Unless you are NOT using a cluster manager.
Wants=network-online.target sshd.service
After=network-online.target sshd.service drbdproxy.service
Before=pacemaker.service

[Service]
Type=oneshot
RemainAfterExit=yes

# Do not trigger asking for participation in the users count.
# A check for INIT_VERSION already exists, just set it to something.
Environment=INIT_VERSION=systemd

ExecStart=/lib/drbd/drbd start
ExecStop=/lib/drbd/drbd stop

# Re-adjust everything on reload
ExecReload=/lib/drbd/drbd reload

[Install]
WantedBy=multi-user.target