[services] Remove explicit dependencies from dhcp_relay service file, control in swss.sh (#3823)
This commit is contained in:
parent
d0237ece11
commit
3920ac2368
@ -1,7 +1,7 @@
|
||||
[Unit]
|
||||
Description=DHCP relay container
|
||||
Requires=updategraph.service swss.service teamd.service
|
||||
After=updategraph.service swss.service teamd.service
|
||||
Requires=updategraph.service
|
||||
After=updategraph.service swss.service syncd.service teamd.service
|
||||
Before=ntp-config.service
|
||||
|
||||
[Service]
|
||||
@ -11,4 +11,4 @@ ExecStart=/usr/bin/{{ docker_container_name }}.sh wait
|
||||
ExecStop=/usr/bin/{{ docker_container_name }}.sh stop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target swss.service teamd.service
|
||||
WantedBy=multi-user.target
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
SERVICE="swss"
|
||||
PEER="syncd"
|
||||
DEPENDENT="teamd radv"
|
||||
DEPENDENT="teamd radv dhcp_relay"
|
||||
DEBUGLOG="/tmp/swss-syncd-debug.log"
|
||||
LOCKFILE="/tmp/swss-syncd-lock"
|
||||
|
||||
|
Reference in New Issue
Block a user