Skip to content

Commit

Permalink
man: add missing unit file section name to example
Browse files Browse the repository at this point in the history
Fixes: #29917
(cherry picked from commit 2e290d5)
  • Loading branch information
poettering authored and bluca committed Nov 9, 2023
1 parent 6186c1e commit e57d278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion man/systemd-creds.xml
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ SetCredentialEncrypted=mysql-password: \
<filename>xyz.service</filename>:</para>

<programlisting># mkdir -p /etc/systemd/system/xyz.service.d
# systemd-ask-password -n | systemd-creds encrypt --name=mysql-password -p - - >/etc/systemd/system/xyz.service.d/50-password.conf
# systemd-ask-password -n | ( echo "[Service]" &amp;&amp; systemd-creds encrypt --name=mysql-password -p - - ) >/etc/systemd/system/xyz.service.d/50-password.conf
# systemctl daemon-reload
# systemctl restart xyz.service</programlisting>
</example>
Expand Down

0 comments on commit e57d278

Please sign in to comment.