ctdb-common: Add routines to manage PID file
authorAmitay Isaacs <amitay@gmail.com>
Mon, 19 Sep 2016 06:30:12 +0000 (16:30 +1000)
committerStefan Metzmacher <metze@samba.org>
Thu, 13 Oct 2016 14:55:39 +0000 (16:55 +0200)
commita1a1fe45533edaee94923e6cf2978e186e612a14
treea823e69b491f3a61c90190940893ad5c55db9ead
parentaefc59359d980ebb7ea4b75219dad0e62ff52ab0
ctdb-common: Add routines to manage PID file

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12287

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
(cherry picked from commit 97b6ac7f662d8de316ed520e038779e79bcdb7bc)
ctdb/common/pidfile.c [new file with mode: 0644]
ctdb/common/pidfile.h [new file with mode: 0644]
ctdb/tests/cunit/pidfile_test_001.sh [new file with mode: 0755]
ctdb/tests/src/pidfile_test.c [new file with mode: 0644]
ctdb/wscript