sonic-buildimage/files/build_templates/updategraph.service.j2

18 lines
349 B
Plaintext
Raw Normal View History

[Unit]
Description=Update minigraph and set configuration based on minigraph
After=rc-local.service
After=database.service
Requires=database.service
{% if sonic_asic_platform == 'mellanox' -%}
Requires=msn-chassis.service
{% endif -%}
[Service]
Type=oneshot
ExecStart=/usr/bin/updategraph
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target