sonic-buildimage/files/build_templates/pde.service.j2
賓少鈺 aa59bfeab7
[PDE]: introduce the SONiC Platform Development Env (#7510)
The PDE silicon test harness and platform test harness can be found in
src/sonic-platform-pdk-pde
2021-07-24 16:24:43 -07:00

23 lines
524 B
Django/Jinja

[Unit]
Description=PDE container
{% if sonic_asic_platform == 'broadcom' %}
Requires=opennsl-modules.service
ConditionPathExists=!/usr/bin/swss.sh
{% endif %}
After=updategraph.service
{% if sonic_asic_platform == 'broadcom' %}
After=opennsl-modules.service
{% endif %}
Before=
[Service]
User={{ sonicadmin_user }}
ExecStartPre=/usr/bin/{{ docker_container_name }}.sh start
ExecStart=/usr/bin/{{ docker_container_name }}.sh wait
ExecStop=/usr/bin/{{ docker_container_name }}.sh stop
[Install]
WantedBy=multi-user.target