2017-02-17 15:47:01 -06:00
|
|
|
[Unit]
|
2018-03-09 19:17:08 -06:00
|
|
|
Description=Update minigraph and set configuration based on minigraph
|
2017-11-22 02:51:05 -06:00
|
|
|
After=rc-local.service
|
2018-03-09 19:17:08 -06:00
|
|
|
After=database.service
|
|
|
|
Requires=database.service
|
2018-07-23 17:51:03 -05:00
|
|
|
{% if sonic_asic_platform == 'mellanox' -%}
|
2019-03-06 20:51:46 -06:00
|
|
|
Requires=hw-management.service
|
2018-07-23 17:51:03 -05:00
|
|
|
{% endif -%}
|
|
|
|
|
2017-02-17 15:47:01 -06:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
ExecStart=/usr/bin/updategraph
|
2018-04-26 17:27:20 -05:00
|
|
|
RemainAfterExit=yes
|
2017-02-17 15:47:01 -06:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|