Validate unit syntax and references.
Section: Verification and Security
Verify a unit file
bash
bash
systemd-analyze verify /etc/systemd/system/myapp.serviceExplanation
Run this before or after writing custom units.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Verification and Security
Show boot time
Measure firmware, loader, kernel, and userspace startup time.
Show critical startup chain
Display boot dependency chain affecting startup time.