Actualiser ap32-test/journalisation/journald-snd.sh

This commit is contained in:
uap32-2025-r 2024-11-15 11:53:06 +01:00
parent 90f775ad11
commit 7642dbb831

View File

@ -2,7 +2,7 @@
sudo timedatectl set-timezone Europe/Paris
sudo apt-get update
sudo apt-get install -y systemd-journal-remote
rpl="s/^# URL=/URL=http:\/\/ap32-mon:19532/"
rpl="s/^# URL=/URL=http:\/\/10.0.0.1:19532/"
sudo sed -i "$rpl" /etc/systemd/journal-upload.conf
sudo systemctl enable --now systemd-journal-upload.service
sudo systemctl restart systemd-journal-upload.service