On many systems /var/run is not world-writeable, and writing PID fails
authorJanis Ruksans <janis.ruksans@gmail.com>
Thu, 28 Jun 2012 06:11:57 +0000 (08:11 +0200)
committerAndreas Eversberg <jolly@eversberg.eu>
Thu, 28 Jun 2012 06:11:57 +0000 (08:11 +0200)
commitb0764b4677c9434b8722cd4084075b6dfc73d0d7
tree2d72d7aa8deb966d46208bc117cd4950a8bef8b5
parent7c12849b271b42ab5bae1717598c24cbaead0909
On many systems /var/run is not world-writeable, and writing PID fails
if LCR is not being run as root. The lock directory, on the contrary,
must be writable by the lcr process, and can be configured by the user.

Signed-off-by: Andreas Eversberg <jolly@eversberg.eu>
main.c