Skip to content

Commit 31dd624

Browse files
Merge pull request #25024 from eriksjolund/debug-quadlet
docs: Add quadlet debug method systemd-analyze
2 parents 04e6488 + e93f0ac commit 31dd624

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/source/markdown/podman-systemd.unit.5.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,14 @@ View the generated files and/or error messages with:
224224
/usr/lib/systemd/system-generators/podman-system-generator {--user} --dryrun
225225
```
226226

227+
Alternatively, show only the errors with:
228+
```
229+
systemd-analyze {--user} --generators=true verify example.service
230+
```
231+
232+
That command also performs additional checks on the generated service unit.
233+
For details, see systemd-analyze(1) man page.
234+
227235
#### Debugging a limited set of unit files
228236

229237
If you would like to debug a limited set of unit files, you can copy them to a separate directory and set the
@@ -2086,7 +2094,7 @@ Options=iam_role,endpoint=${AWS_REGION},use_xattr,listobjectsv2,del_cache,use_ca
20862094
## SEE ALSO
20872095
**[systemd.unit(5)](https://www.freedesktop.org/software/systemd/man/systemd.unit.html)**,
20882096
**[systemd.service(5)](https://www.freedesktop.org/software/systemd/man/systemd.service.html)**,
2097+
**[systemd-analyze(1)](https://www.freedesktop.org/software/systemd/man/latest/systemd-analyze.html)**,
20892098
**[podman-run(1)](podman-run.1.md)**,
20902099
**[podman-network-create(1)](podman-network-create.1.md)**,
20912100
**[podman-auto-update(1)](podman-auto-update.1.md)**
2092-
**[systemd.unit(5)]**

0 commit comments

Comments
 (0)