Skip to content

Respect systemd's RUNTIME_DIRECTORY environment variable #165

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ekohl
Copy link
Contributor

@ekohl ekohl commented Jul 30, 2025

Systemd will export the environment variable RUNTIME_DIRECTORY when running a deamon. This avoids the need for shipping a tmpfiles.d entry to create the run directory.

Link: https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#RuntimeDirectory=

This relates to OpenVoxProject/planning#69. I don't quite know this will interact because I don't know if this method will also be read by the clojure code.

Systemd will export the environment variable RUNTIME_DIRECTORY when
running a deamon. This avoids the need for shipping a tmpfiles.d entry
to create the run directory.

Link: https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#RuntimeDirectory=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants