1
0

Found that daemon-reload needs to be called when manually edit such files.

This commit is contained in:
Alexander Andreev 2023-05-25 00:57:36 +04:00
parent 99eed674fc
commit 282a00c328
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -22,3 +22,5 @@ fi
cat /dev/urandom | tr -dc 'a-zA-Z0-9!@#$%^&*' | fold -w $char_num | head -n 1 \ cat /dev/urandom | tr -dc 'a-zA-Z0-9!@#$%^&*' | fold -w $char_num | head -n 1 \
| systemd-creds encrypt -qp --name=salt - - 2> /dev/null >> $service_override; | systemd-creds encrypt -qp --name=salt - - 2> /dev/null >> $service_override;
systemctl daemon-reload