logging: refine rsyslog-client
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 2 seconds
Some checks are pending
continuous-integration/laminar-eldarion Build failed with exit code 123 after 2 seconds
This commit is contained in:
parent
cadb3272e9
commit
8ff6950960
2 changed files with 4 additions and 2 deletions
|
@ -16,7 +16,6 @@ rm -rf /var/log/*
|
||||||
case "${logging_mode}" in
|
case "${logging_mode}" in
|
||||||
rsyslog-client )
|
rsyslog-client )
|
||||||
queue_apt_install "rsyslog" "rsyslog-gnutls";
|
queue_apt_install "rsyslog" "rsyslog-gnutls";
|
||||||
|
|
||||||
do_ramlog
|
do_ramlog
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
|
@ -3,10 +3,13 @@
|
||||||
#shellcheck disable=2154
|
#shellcheck disable=2154
|
||||||
case "${logging_mode}" in
|
case "${logging_mode}" in
|
||||||
rsyslog-client )
|
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
|
if [[ -r "/etc/rsyslog.conf" ]]; then
|
||||||
mv /etc/rsyslog.conf /etc/rsyslog.conf.dpkg-dist;
|
mv /etc/rsyslog.conf /etc/rsyslog.conf.dpkg-dist;
|
||||||
fi
|
fi
|
||||||
cp configs/rsyslog-client.conf /etc/rsyslog.conf
|
|
||||||
|
cp configs/rsyslog-client.conf /etc/rsyslog.conf;
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue