1
0
Fork 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
1 changed files with 3 additions and 1 deletions

View File

@ -21,4 +21,6 @@ if [ ! -f $service_override ]; then
fi
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