diff options
Diffstat (limited to 'meta-phosphor/recipes-extended/rsyslog')
3 files changed, 2 insertions, 8 deletions
diff --git a/meta-phosphor/recipes-extended/rsyslog/files/rsyslog-override.conf b/meta-phosphor/recipes-extended/rsyslog/files/rsyslog-override.conf index d5084b11c6..faeeae0c45 100644 --- a/meta-phosphor/recipes-extended/rsyslog/files/rsyslog-override.conf +++ b/meta-phosphor/recipes-extended/rsyslog/files/rsyslog-override.conf @@ -2,3 +2,5 @@ # This service is restarted when an rsyslog property is set, so # disable rate limiting to allow it to always be restarted. StartLimitIntervalSec=0 +# This file exists only if remote logging has been configured +ConditionPathExists=/etc/rsyslog.d/server.conf diff --git a/meta-phosphor/recipes-extended/rsyslog/rsyslog/server.conf b/meta-phosphor/recipes-extended/rsyslog/rsyslog/server.conf deleted file mode 100644 index 5c8161b29a..0000000000 --- a/meta-phosphor/recipes-extended/rsyslog/rsyslog/server.conf +++ /dev/null @@ -1,2 +0,0 @@ -# Remote Logging (we use TCP for reliable delivery) -#*.* @@remote-host:port diff --git a/meta-phosphor/recipes-extended/rsyslog/rsyslog_%.bbappend b/meta-phosphor/recipes-extended/rsyslog/rsyslog_%.bbappend index 0a2fb33343..3901844ae5 100644 --- a/meta-phosphor/recipes-extended/rsyslog/rsyslog_%.bbappend +++ b/meta-phosphor/recipes-extended/rsyslog/rsyslog_%.bbappend @@ -2,15 +2,9 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI += " \ file://rsyslog.conf \ - file://server.conf \ " PACKAGECONFIG ??= " \ rsyslogd rsyslogrt inet regexp uuid \ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ " - -do_install_append(){ - install -m 0644 -D ${WORKDIR}/server.conf \ - ${D}${sysconfdir}/rsyslog.d/server.conf -} |