use journald reload support added in systemd 258

This commit is contained in:
Daniel Micay 2025-11-07 23:23:09 -05:00
parent 4a5e91de42
commit 459455286d

View file

@ -15,5 +15,5 @@ for host in ${hosts_all[@]}; do
sed -i "s/{{journald_system_max_file_size}}/${hosts_journald_system_max_file_size[$host]:-512M}/g" tmp
rsync tmp $remote:/etc/systemd/journald.conf
rm tmp
ssh $remote systemctl restart systemd-journald
ssh $remote systemctl reload systemd-journald
done