← All tools

systemd Unit Hardening Analyzer

Review a service unit and ordered drop-ins without invoking systemd, loading the host configuration, or contacting a network service.

Unit and drop-ins

Separate multiple drop-ins with a line such as --- DROP-IN: 20-local.conf ---. Blocks are applied in pasted order; systemd itself resolves directory precedence and then lexicographic filenames, so paste that effective order. Scalar last-assignment and documented reset/append behavior are modeled. Set-style directives with multiple positive or negated assignments are preserved as an ordered sequence.

Explicit service needs

Checked means the service may need that access, so the analyzer will not propose blocking it. Uncheck only after confirming the workload requirement. These declarations are review context, not facts inferred from commands.