File: drbd-wait-promotable%40.service

package info (click to toggle)
drbd-utils 9.22.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,760 kB
  • sloc: ansic: 48,975; xml: 11,553; cpp: 9,842; sh: 4,575; makefile: 1,031; perl: 353; ruby: 43
file content (17 lines) | stat: -rw-r--r-- 353 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=DRBD %i Wait Promotable
Requires=drbd@%i.service
After=drbd@%i.service
Before=drbd@%i.target

[Service]
SyslogIdentifier=drbd-%I
Type=oneshot

# on first start, wait for access to "good data"
# let systemd handle timeouts
ExecStart=/lib/drbd/scripts/drbd-wait-promotable.sh %I
RemainAfterExit=yes

[Install]
RequiredBy=drbd@%i.target