Skip to content

Commit

Permalink
Podman: Correct Quadlet install mechanism (#2294)
Browse files Browse the repository at this point in the history
Quadlet services do not support enabling by `systemd enable`.
Remove the wrong section and replace it with hint about the generator
procedure.
  • Loading branch information
ChrSteinert authored Aug 27, 2024
1 parent 55fb168 commit 1f57150
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
7 changes: 1 addition & 6 deletions docs/gemstones/containers/podman.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,7 @@ To automatically run the container upon system start or user login, you can add
WantedBy=default.target
```

Then let the generator run again and enable your service:

```bash
systemctl --user daemon-reload;
systemctl --user enable nextcloud.service;
```
As the generated service files are considered transient, they cannot be enabled by systemd. To mitigate this, the generator manually applies installs during generation. This effectively also enables those services files.

Other file types are supported: pod, volume, network, image, and kube. [Pods](https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html#pod-units-pod), for instance, can be used to group containers – the generated systemd services and their dependencies (create the pod before the containers) are automatically managed by systemd.

Expand Down
7 changes: 1 addition & 6 deletions docs/guides/containers/podman_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,7 @@ To automatically run the container upon system start or user login, you can add
WantedBy=default.target
```

Then let the generator run again and enable your service:

```bash
systemctl --user daemon-reload;
systemctl --user enable nextcloud.service;
```
As the generated service files are considered transient, they cannot be enabled by systemd. To mitigate this, the generator manually applies installs during generation. This effectively also enables those services files.

Other file types are supported: pod, volume, network, image, and kube. [Pods](https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html#pod-units-pod), for instance, can be used to group containers – the generated systemd services and their dependencies (create the pod before the containers) are automatically managed by systemd.

Expand Down

0 comments on commit 1f57150

Please sign in to comment.