Give every file a header (title, empty line, explanation), wrap comments at 80 columns and keep them to the why. Only comments change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
343 B
SYSTEMD
17 lines
343 B
SYSTEMD
# Root password
|
|
#
|
|
# /etc is read-only, so agent-setup writes the shadow file to /var and this
|
|
# mounts it over /etc/shadow.
|
|
[Unit]
|
|
Description=Root password from /var
|
|
ConditionPathExists=/var/lib/agent/etc/shadow
|
|
RequiresMountsFor=/var
|
|
|
|
[Mount]
|
|
What=/var/lib/agent/etc/shadow
|
|
Where=/etc/shadow
|
|
Options=bind
|
|
|
|
[Install]
|
|
WantedBy=local-fs.target
|