Téléverser les fichiers vers "ap32-test/journalisation"

This commit is contained in:
uap32-2025-r 2024-11-08 08:25:26 +01:00
parent 2a9e62df7c
commit 481392e60a

View File

@ -0,0 +1,8 @@
#!/bin/bash
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/"
sudo sed -i "$rpl" /etc/systemd/journal-upload.conf
sudo systemctl enable --now systemd-journal-upload.service
sudo systemctl restart systemd-journal-upload.service