sonic-buildimage/files/image_config/config-topology/config-topology.service
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

19 lines
380 B
Desktop File

[Unit]
Description=Platform topology configuration service
After=database.service
After=database-chassis.service
Requires=database.service
Requires=database-chassis.service
Before=config-setup.service
[Service]
Type=oneshot
User=root
RemainAfterExit=yes
ExecStart=/usr/bin/config-topology.sh start
ExecStop=/usr/bin/config-topology.sh stop
[Install]
WantedBy=multi-user.target