aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/logging/rsyslog/config-external.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/docker/logging/rsyslog/config-external.sh b/docker/logging/rsyslog/config-external.sh
index 4352a6f08..a935f7dba 100755
--- a/docker/logging/rsyslog/config-external.sh
+++ b/docker/logging/rsyslog/config-external.sh
@@ -1,4 +1,9 @@
#!/bin/bash
+
+if [[ -f "/dev/log" ]]; then
+ rm "/dev/log"
+fi
+
SOURCE="/opt/kolla/rsyslog/rsyslog.conf"
TARGET="/etc/rsyslog.conf"
OWNER="root"