Skip to content

Commit 71f723b

Browse files
authored
Merge pull request voxpupuli#376 from marcusdots/master
Fix examples in README.md
2 parents ac31658 + d50ae89 commit 71f723b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ node /node01/ {
144144
auth_type => 'PASS',
145145
auth_pass => 'secret',
146146
virtual_ipaddress => '10.0.0.1/29',
147-
track_script => 'check_nginx',
147+
track_script => ['check_nginx'],
148148
}
149149
}
150150

@@ -163,7 +163,7 @@ node /node02/ {
163163
auth_type => 'PASS',
164164
auth_pass => 'secret',
165165
virtual_ipaddress => '10.0.0.1/29',
166-
track_script => 'check_nginx',
166+
track_script => ['check_nginx'],
167167
}
168168
}
169169
```
@@ -185,7 +185,8 @@ keepalived::vrrp_instance:
185185
auth_type: 'PASS'
186186
auth_pass: 'secret'
187187
virtual_ipaddress: '10.0.0.1/29'
188-
track_script: check_nginx
188+
track_script:
189+
- check_nginx
189190
```
190191
191192
or using process tracking (keepalived 2.0.11+):
@@ -209,7 +210,7 @@ node /node01/ {
209210
auth_type => 'PASS',
210211
auth_pass => 'secret',
211212
virtual_ipaddress => '10.0.0.1/29',
212-
track_process => 'check_nginx',
213+
track_process => ['check_nginx'],
213214
}
214215
}
215216
```

0 commit comments

Comments
 (0)