Replies: 6 comments 10 replies
-
I feel like this should also apply to the |
Beta Was this translation helpful? Give feedback.
-
Any updates on this? I am using a custom .service file with |
Beta Was this translation helpful? Give feedback.
-
@Epokhe While my name does appear in this discussion, I'm not sure why I separated parts of it to #17418 which was resolved already. So, currently, Qualdet does support relative paths (relative to the location of the quadlet unit file). In addition, once #18830 is merged, you will be able to put the files of each unit in a separate directory. Will this fulfill your requirements, or do you see further needs? |
Beta Was this translation helpful? Give feedback.
-
@Epokhe @fpoirotte thanks for the discussion. Please see #19256 |
Beta Was this translation helpful? Give feedback.
-
It seems that discussions are not resolved by PRs. So, I'm manually closing this issue |
Beta Was this translation helpful? Give feedback.
-
I was hoping to use
podman kube play
and the systemd[email protected]
to replace existing docker-compose setups. Generally, we put all needed resources (config files, data volume mounts, etc.) into one folder. Then, with compose, one can refer to them using relative paths from the YAML file. As a result, the parent folder is somewhat portable--in the sense that one can move it anddocker-compose up
still does the right thing.With
podman kube play
relative paths work, but they are relative topodman
's current working directory, not the location of the yaml file being played. This renders[email protected]
hard to use because the current working directory is not the parent folder of the yaml file being started. Therefore, all paths need to made absolute and now the "service folder" must know about where it lives on a particular machine.Is it currently possible to make
podman
use the parent directory of the yaml as the current working directory? If not, perhaps that could at least be a cli flag, if not the default behavior?Beta Was this translation helpful? Give feedback.
All reactions