-
Notifications
You must be signed in to change notification settings - Fork 20
Update the socket path to new location #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -18,7 +18,7 @@ use std::io::{Error, ErrorKind}; | |||
#[cfg(not(feature = "no-fs-permission-check"))] | |||
use std::os::unix::fs::MetadataExt; | |||
|
|||
const DEFAULT_SOCKET_PATH: &str = "/tmp/parsec/parsec.sock"; | |||
const DEFAULT_SOCKET_PATH: &str = "/run/parsec/parsec.sock"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is already a way to modify the path of the socket at runtime, so for test I think we can change this path to /tmp/parsec.sock
in the e2e_tests
folder directly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is? Wow, I had some good foresight there
Signed-off-by: Hugues de Valon <[email protected]>
daadfcf
to
e4a01fa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌 let's DO THIS
@@ -18,7 +18,7 @@ use std::io::{Error, ErrorKind}; | |||
#[cfg(not(feature = "no-fs-permission-check"))] | |||
use std::os::unix::fs::MetadataExt; | |||
|
|||
const DEFAULT_SOCKET_PATH: &str = "/tmp/parsec/parsec.sock"; | |||
const DEFAULT_SOCKET_PATH: &str = "/run/parsec/parsec.sock"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is? Wow, I had some good foresight there
I will wait for consensus on the three PRs before I start merging any of them 🚀 Just in case some changes is still needed here |
See this issue for details.