Skip to content

Commit 0d39316

Browse files
authored
Merge pull request #670 from gchmurka123/patch-1
Update znapzendzetup.pod
2 parents 9e67f39 + fa1be29 commit 0d39316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/znapzendzetup.pod

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ e.g. for database locking/flushing (pre) and unlocking (post).
255255
If you deal with a mariadb/mysql database, you can use
256256

257257
pre-snap-command = /opt/oep/mariadb/bin/mysql -e "set autocommit=0;flush tables with read lock;\\! /bin/sleep 600" & /usr/bin/echo $! > /tmp/mariadblock.pid ; sleep 10
258-
post-snap-command = /usr/bin/kill `/usr/bin/cat /tmp/mariadblock.pid`;/usr/bin/rm /tmp/mariadblock.pid
258+
post-snap-command = /usr/bin/pkill -P `/usr/bin/cat /tmp/mariadblock.pid`;/usr/bin/rm /tmp/mariadblock.pid
259259

260260
to make sure that the on-disk data is consistent when snapshotting. The
261261
lock stays in place only for the duration of the lingering connection

0 commit comments

Comments
 (0)