[config services] Not to block syslog service on minigraph update (#850)
This commit is contained in:
parent
1c165067af
commit
829a205b85
@ -1,6 +1,5 @@
|
||||
[Unit]
|
||||
Description=Update rsyslog configuration
|
||||
Before=rsyslog.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user