b22fe37670
Signed-off-by: Nazarii Hnydyn <nazariig@mellanox.com>
18 lines
351 B
Django/Jinja
18 lines
351 B
Django/Jinja
[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=hw-management.service
|
|
{% endif -%}
|
|
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/usr/bin/updategraph
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|