mirror of
https://github.com/Telecominfraproject/ols-nos.git
synced 2025-11-05 20:47:46 +00:00
[dhcp_relay] complete the dhcp_relay service dependency towards teamd (#1356)
This change makes sure that the dhcp_relay service will be started after teamd service is started from a stopped state.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=DHCP relay container
|
Description=DHCP relay container
|
||||||
Requires=docker.service teamd.service
|
Requires=docker.service teamd.service
|
||||||
After=swss.service
|
After=swss.service teamd.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User={{ sonicadmin_user }}
|
User={{ sonicadmin_user }}
|
||||||
@@ -10,4 +10,4 @@ ExecStart=/usr/bin/{{ docker_container_name }}.sh attach
|
|||||||
ExecStop=/usr/bin/{{ docker_container_name }}.sh stop
|
ExecStop=/usr/bin/{{ docker_container_name }}.sh stop
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target teamd.service
|
||||||
|
|||||||
Reference in New Issue
Block a user