673c82f9a3
This change makes sure that the dhcp_relay service will be started after teamd service is started from a stopped state.
14 lines
371 B
Django/Jinja
14 lines
371 B
Django/Jinja
[Unit]
|
|
Description=DHCP relay container
|
|
Requires=docker.service teamd.service
|
|
After=swss.service teamd.service
|
|
|
|
[Service]
|
|
User={{ sonicadmin_user }}
|
|
ExecStartPre=/usr/bin/{{ docker_container_name }}.sh start
|
|
ExecStart=/usr/bin/{{ docker_container_name }}.sh attach
|
|
ExecStop=/usr/bin/{{ docker_container_name }}.sh stop
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target teamd.service
|