From: Lennart Poettering Date: Wed, 8 Nov 2023 09:31:55 +0000 (+0100) Subject: man: add missing unit file section name to example X-Git-Tag: v255-rc2~80^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2e290d55fd1ff9483315dcbe86cae091f333d68f;p=thirdparty%2Fsystemd.git man: add missing unit file section name to example Fixes: #29917 --- diff --git a/man/systemd-creds.xml b/man/systemd-creds.xml index f2dff10ff15..d48f667b8b2 100644 --- a/man/systemd-creds.xml +++ b/man/systemd-creds.xml @@ -475,7 +475,7 @@ SetCredentialEncrypted=mysql-password: \ xyz.service: # 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]" && systemd-creds encrypt --name=mysql-password -p - - ) >/etc/systemd/system/xyz.service.d/50-password.conf # systemctl daemon-reload # systemctl restart xyz.service