-
Notifications
You must be signed in to change notification settings - Fork 171
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
Make logging directory configurable #2388
Comments
@crimeminister please give #2391 a go if you have the bandwidth to do so |
Do we know if there's other files read/written from iroh with non-configurable locations? We'd need to make sure everything is configurable to solve OP's use-case IIUC. |
All other files should be written into the main |
our logs go in the |
Thanks for this, everyone! I appreciate the quick and helpful response. |
In the process of configuring systemd to run
iroh
, I am attempting to use a "dynamic user" to run the service. This effectively sandboxes the service by making the full filesystem read-only except for a specific "state directory" (/var/lib/iroh
in my configuration). When attempting to run the service with this configuration I see the error:I would like to configure iroh to write logs to
/var/log/iroh
, which I will make writable by the systemd "dynamic user" that ends up running the service. Would it be possible to expose the log output directory as a configuration knob?The text was updated successfully, but these errors were encountered: