Found that daemon-reload needs to be called when manually edit such files.
This commit is contained in:
parent
99eed674fc
commit
282a00c328
@ -21,4 +21,6 @@ if [ ! -f $service_override ]; then
|
|||||||
fi
|
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
|
Loading…
Reference in New Issue
Block a user