[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:
Stepan Blyshchak 2019-10-31 18:18:26 +02:00 committed by lguohan
parent 064689d442
commit 8dbe13c4cc
6 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
[Unit]
Description=DHCP relay container
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
[Service]

View File

@ -1,7 +1,7 @@
[Unit]
Description=LLDP container
Requires=updategraph.service
After=updategraph.service
After=updategraph.service swss.service syncd.service
Before=ntp-config.service
[Service]

View File

@ -1,7 +1,7 @@
[Unit]
Description=Router advertiser container
Requires=updategraph.service
After=updategraph.service swss.service
After=updategraph.service swss.service syncd.service
Before=ntp-config.service
StartLimitIntervalSec=1200
StartLimitBurst=3

View File

@ -1,7 +1,7 @@
[Unit]
Description=sFlow container
Requires=swss.service
After=swss.service
After=swss.service syncd.service
Before=ntp-config.service
[Service]

View File

@ -2,7 +2,7 @@
Description=SNMP container
Requires=updategraph.service
Requisite=swss.service
After=updategraph.service swss.service
After=updategraph.service swss.service syncd.service
Before=ntp-config.service
StartLimitIntervalSec=1200
StartLimitBurst=3

View File

@ -1,7 +1,7 @@
[Unit]
Description=Telemetry container
Requires=database.service
After=database.service
After=database.service swss.service syncd.service
Before=ntp-config.service
[Service]