[config services] Not to block syslog service on minigraph update (#850)

This commit is contained in:
Taoyu Li 2017-07-27 19:52:22 -07:00 committed by GitHub
parent 1c165067af
commit 829a205b85
2 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,5 @@
[Unit]
Description=Update rsyslog configuration
Before=rsyslog.service
[Service]
Type=oneshot

View File

@ -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