sonic-buildimage/files/build_templates/config-setup.service.j2
anamehra 26af468a99
Add support for platform topology configuration service (#12066)
* Add support for platform topology configuration service

    This service invokes the platform plugin for platform specific topology
    configuration.
    The path for platform plugin script is:
    /usr/share/sonic/device/$PLATFORM/plugins/config-topology.sh
    If the platform plugin is not available, this service does nothing.

Signed-off-by: anamehra <anamehra@cisco.com>
2023-02-01 12:53:45 -08:00

21 lines
407 B
Django/Jinja

[Unit]
Description=Config initialization and migration service
After=rc-local.service
After=database.service
After=config-topology.service
Requires=config-topology.service
Requires=database.service
{% if sonic_asic_platform == 'mellanox' -%}
Requires=hw-management.service
{% endif -%}
[Service]
Type=oneshot
ExecStart=/usr/bin/config-setup boot
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target