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

This commit is contained in:
uap32-2025-r 2024-11-15 11:52:52 +01:00
parent 4fac1f20d7
commit 90f775ad11

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