logging: refine rsyslog-client
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 2 seconds

This commit is contained in:
Starbeamrainbowlabs 2022-06-19 18:04:01 +01:00
parent cadb3272e9
commit 8ff6950960
Signed by: sbrl
GPG key ID: 1BE5172E637709C2
2 changed files with 4 additions and 2 deletions

View file

@ -16,7 +16,6 @@ rm -rf /var/log/*
case "${logging_mode}" in
rsyslog-client )
queue_apt_install "rsyslog" "rsyslog-gnutls";
do_ramlog
;;

View file

@ -3,10 +3,13 @@
#shellcheck disable=2154
case "${logging_mode}" in
rsyslog-client )
curl -sSL https://letsencrypt.org/certs/isrg-root-x1-cross-signed.pem -o /etc/ssl/isrg-root-x1-cross-signed.pem;
if [[ -r "/etc/rsyslog.conf" ]]; then
mv /etc/rsyslog.conf /etc/rsyslog.conf.dpkg-dist;
fi
cp configs/rsyslog-client.conf /etc/rsyslog.conf
cp configs/rsyslog-client.conf /etc/rsyslog.conf;
;;
esac