Skip to content

Commit

Permalink
[config services] Not to block syslog service on minigraph update (#850)
Browse files Browse the repository at this point in the history
  • Loading branch information
taoyl-ms authored Jul 28, 2017
1 parent 1c16506 commit 829a205
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion files/image_config/rsyslog/rsyslog-config.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[Unit]
Description=Update rsyslog configuration
Before=rsyslog.service

[Service]
Type=oneshot
Expand Down
1 change: 1 addition & 0 deletions files/image_config/rsyslog/rsyslog-config.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 829a205

Please sign in to comment.