]> git.meshlink.io Git - meshlink/commit
Allow a different location for the lock file. feature/storage-policy
authorGuus Sliepen <guus@meshlink.io>
Mon, 15 Feb 2021 22:48:09 +0000 (23:48 +0100)
committerGuus Sliepen <guus@meshlink.io>
Mon, 15 Feb 2021 22:48:09 +0000 (23:48 +0100)
commite4aa10e7acef096058aaa215aceb6735411f89fd
tree989acc40b352a8e60c4dd52f2904ab02c5ceabaf
parentfebf3e72928c293e81f307ad91a7dcf5e70d7a56
Allow a different location for the lock file.

In order to reduce the write load on the configuration directory as much as
possible, allow the location of the lock file to be set by the application
to somewhere outside the configuration directory. On Linux, it can be put
in /dev/shm.
src/conf.c
src/conf.h
src/meshlink.c
src/meshlink.h
src/meshlink.sym
src/meshlink_internal.h