From 7e1383609d8b6260d180a81ee9c3dd0c4999b7e8 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Tue, 2 Dec 2025 15:40:24 +0900 Subject: [PATCH] README: fix section about systemd creds --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 25e1a69..1a07604 100644 --- a/README.md +++ b/README.md @@ -61,10 +61,11 @@ systemd-creds setup systemd-creds encrypt --name=muscl_mysql_password <(echo "") /etc/credstore.encrypted/muscl_mysql_password ``` -If you are running systemd older than version 254 (see `systemctl --version`), you might have to override the service to point to the path of the credential manually, because `ImportCredential=` is not supported. Run `systemctl edit muscl.service` and add the following line: +If you are running systemd older than version 254 (see `systemctl --version`), you might have to override the service to point to the path of the credential manually, because `ImportCredential=` is not supported. Run `systemctl edit muscl.service` and add the following lines: ```ini -LoadEncyptedCredential=muscl_mysql_password:/etc/credstore.encrypted/muscl_mysql_password +[Service] +LoadCredentialEncrypted=muscl_mysql_password:/etc/credstore.encrypted/muscl_mysql_password ``` ### NixOS