[services] improve startup time by changing startup order (#3656)
* [services] improve startup time by given precedence to critical services (syncd.service) Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
This commit is contained in:
parent
064689d442
commit
8dbe13c4cc
@ -1,7 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=DHCP relay container
|
Description=DHCP relay container
|
||||||
Requires=updategraph.service swss.service teamd.service
|
Requires=updategraph.service swss.service teamd.service
|
||||||
After=updategraph.service swss.service teamd.service
|
After=updategraph.service swss.service syncd.service teamd.service
|
||||||
Before=ntp-config.service
|
Before=ntp-config.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=LLDP container
|
Description=LLDP container
|
||||||
Requires=updategraph.service
|
Requires=updategraph.service
|
||||||
After=updategraph.service
|
After=updategraph.service swss.service syncd.service
|
||||||
Before=ntp-config.service
|
Before=ntp-config.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Router advertiser container
|
Description=Router advertiser container
|
||||||
Requires=updategraph.service
|
Requires=updategraph.service
|
||||||
After=updategraph.service swss.service
|
After=updategraph.service swss.service syncd.service
|
||||||
Before=ntp-config.service
|
Before=ntp-config.service
|
||||||
StartLimitIntervalSec=1200
|
StartLimitIntervalSec=1200
|
||||||
StartLimitBurst=3
|
StartLimitBurst=3
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=sFlow container
|
Description=sFlow container
|
||||||
Requires=swss.service
|
Requires=swss.service
|
||||||
After=swss.service
|
After=swss.service syncd.service
|
||||||
Before=ntp-config.service
|
Before=ntp-config.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Description=SNMP container
|
Description=SNMP container
|
||||||
Requires=updategraph.service
|
Requires=updategraph.service
|
||||||
Requisite=swss.service
|
Requisite=swss.service
|
||||||
After=updategraph.service swss.service
|
After=updategraph.service swss.service syncd.service
|
||||||
Before=ntp-config.service
|
Before=ntp-config.service
|
||||||
StartLimitIntervalSec=1200
|
StartLimitIntervalSec=1200
|
||||||
StartLimitBurst=3
|
StartLimitBurst=3
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Telemetry container
|
Description=Telemetry container
|
||||||
Requires=database.service
|
Requires=database.service
|
||||||
After=database.service
|
After=database.service swss.service syncd.service
|
||||||
Before=ntp-config.service
|
Before=ntp-config.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
Reference in New Issue
Block a user