Skip to content

How to configure the lock file path #1664

Answered by elfenpiff
Xcliu asked this question in Q&A
Discussion options

You must be logged in to vote

@Xcliu I do not know if you mean the lock file which roudi creates or the underlying FileLock construct in our posix wrappers so you get an answer for both 😄

  1. RouDi lock file path This can be configured platform specific in the file iceoryx_platform/YOUR_PLATFORM/include/iceoryx_platform/platform_settings.hpp by adjusting the variable IOX_LOCK_FILE_PATH_PREFIX.
    Lets assume you are on our standard linux platform and would like to change the path to /home/iceoryx/ you would open iceoryx_platform/linux/include/iceoryx_platform/platform_settings.hpp and change the line to constexpr const char IOX_LOCK_FILE_PATH_PREFIX[] = "/home/iceoryx";
    The disadvantage is that this is only temporarily sin…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Xcliu
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #1661 on September 23, 2022 10:05.