Téléverser les fichiers vers "ap32-test/journalisation"
This commit is contained in:
parent
2a9e62df7c
commit
481392e60a
8
ap32-test/journalisation/journald-dst.sh
Normal file
8
ap32-test/journalisation/journald-dst.sh
Normal 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
|
Loading…
x
Reference in New Issue
Block a user