From 5a257a98c9644665dfa9ba34d1b859ede8f4dcc0 Mon Sep 17 00:00:00 2001 From: Taoyu Li Date: Thu, 27 Jul 2017 22:33:40 +0000 Subject: [PATCH] [config services] Not to block syslog service on minigraph update --- files/image_config/rsyslog/rsyslog-config.service | 1 - files/image_config/rsyslog/rsyslog-config.sh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/files/image_config/rsyslog/rsyslog-config.service b/files/image_config/rsyslog/rsyslog-config.service index ad72e9c2ea9a..be3c209e7560 100644 --- a/files/image_config/rsyslog/rsyslog-config.service +++ b/files/image_config/rsyslog/rsyslog-config.service @@ -1,6 +1,5 @@ [Unit] Description=Update rsyslog configuration -Before=rsyslog.service [Service] Type=oneshot diff --git a/files/image_config/rsyslog/rsyslog-config.sh b/files/image_config/rsyslog/rsyslog-config.sh index 044888029686..06a4934a4be5 100755 --- a/files/image_config/rsyslog/rsyslog-config.sh +++ b/files/image_config/rsyslog/rsyslog-config.sh @@ -1,3 +1,4 @@ #!/bin/bash sonic-cfggen -m /etc/sonic/minigraph.xml -t /usr/share/sonic/templates/rsyslog.conf.j2 >/etc/rsyslog.conf +systemctl restart rsyslog