Skip to content
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

systemd-services: replace ConditionPathExists with ConditionPathIsDirectory #102

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

sirlucjan
Copy link
Collaborator

Commit sched-ext/sched_ext#122 has caused systemd services to no longer be able to run because the startup conditions cannot be met. A simple change to ConditionPathIsDirectory and pointing to the correct path gets everything working properly again.

Source: https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html

ConditionPathIsDirectory=
ConditionPathIsDirectory= is similar to ConditionPathExists= but verifies that a certain path exists and is a directory.

Added in version 244.

…ectory

Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
@Byte-Lab
Copy link
Contributor

Thanks for the fix!

@Byte-Lab Byte-Lab merged commit 9ce4812 into sched-ext:main Jan 25, 2024
1 check passed
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.

None yet

2 participants