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

Support UpheldBy as systemd property for enabling units #987

Closed
pothos opened this issue Mar 24, 2023 · 0 comments
Closed

Support UpheldBy as systemd property for enabling units #987

pothos opened this issue Mar 24, 2023 · 0 comments
Labels
area/sysext sysext roadmap

Comments

@pothos
Copy link
Member

pothos commented Mar 24, 2023

Currently we have to use Upholds= drop-ins for the multi-user target unit to start services that are part of a systemd-sysext/syscfg.
As ergonomic improvement, systemd should support UpheldBy in the [Install] section and a TARGET.upholds dir with symlinks. This way systemctl enable UNIT would work, presets would work, and systemctl status UNIT would show it as enabled.

Filed upstream issue: systemd/systemd#26896

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sysext sysext roadmap
Development

No branches or pull requests

1 participant