From 282a00c328d80e056eadba2f4fd4b73b6b4819b0 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Thu, 25 May 2023 00:57:36 +0400 Subject: [PATCH] Found that daemon-reload needs to be called when manually edit such files. --- tools/gen-salt.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/gen-salt.sh b/tools/gen-salt.sh index e7d0884..77a1947 100755 --- a/tools/gen-salt.sh +++ b/tools/gen-salt.sh @@ -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; \ No newline at end of file + | systemd-creds encrypt -qp --name=salt - - 2> /dev/null >> $service_override; + +systemctl daemon-reload \ No newline at end of file