26af468a99
* 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>
19 lines
380 B
Desktop File
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
|
|
|