mirror of
https://github.com/containers/podman.git
synced 2026-07-09 06:44:58 -04:00
docs: fix incorrect statement in podman-quadlet-basic-usage
The services cannot be enables so we must not document this, instead provide the proper pointer on what to do. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@@ -42,7 +42,7 @@ For rootful use:
|
||||
sudo cp hello.container /etc/containers/systemd/
|
||||
```
|
||||
|
||||
## Step 3: Reload and enable the service
|
||||
## Step 3: Reload and start the service
|
||||
|
||||
For rootless use:
|
||||
```bash
|
||||
@@ -53,9 +53,13 @@ systemctl --user start hello.service
|
||||
For rootful use:
|
||||
```bash
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable --now hello.service
|
||||
sudo systemctl start hello.service
|
||||
```
|
||||
|
||||
Note quadlet services cannot be enabled as they are a generated systemd unit,
|
||||
see [podman-systemd.unit(5)](podman-systemd.unit.5.md#enabling-unit-files) for more information.
|
||||
|
||||
|
||||
## Expected Output:
|
||||
|
||||
For rootless, check logs using:
|
||||
|
||||
Reference in New Issue
Block a user