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 top-level type drop-ins for quadlet (pod.d, container.d, etc) #23158

Open
benniekiss opened this issue Jul 1, 2024 · 2 comments
Open
Labels
kind/feature Categorizes issue or PR as related to a new feature. quadlet

Comments

@benniekiss
Copy link

benniekiss commented Jul 1, 2024

Feature request description

Regular systemd unit files allow for top-level type drop-ins, such as service.d/ and socket.d/. Quadlet generated files should support this as well. For example, drop-in files in pod.d/ should be applied to all generated .pod files.

@benniekiss benniekiss added the kind/feature Categorizes issue or PR as related to a new feature. label Jul 1, 2024
@Luap99 Luap99 added the quadlet label Jul 2, 2024
@Luap99
Copy link
Member

Luap99 commented Jul 2, 2024

What kind of options would you like to set "globally"?

We already have a config file for setting defaults, containers.conf.

cc @ygalblum @alexlarsson

@benniekiss
Copy link
Author

benniekiss commented Jul 2, 2024

I was thinking more along the lines of [Unit], [Service], and [Install] sections to set these globally for Quadlet files. For instance, a global Restart=always or WantedBy=default.target

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. quadlet
Projects
None yet
Development

No branches or pull requests

2 participants