File: drbd.service

package info (click to toggle)
drbd-utils 9.22.0-1.2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,768 kB
  • sloc: ansic: 48,975; xml: 11,553; cpp: 9,843; sh: 4,568; makefile: 1,029; perl: 353; ruby: 43
file content (23 lines) | stat: -rw-r--r-- 612 bytes parent folder | download | duplicates (3)
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/scripts/drbd start
ExecStop=/lib/drbd/scripts/drbd stop

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

[Install]
WantedBy=multi-user.target