Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[services] improve startup time by changing startup order #3656

Merged
merged 2 commits into from
Oct 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion files/build_templates/dhcp_relay.service.j2
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion files/build_templates/lldp.service.j2
Original file line number Diff line number Diff line change
@@ -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]
Expand Down
2 changes: 1 addition & 1 deletion files/build_templates/radv.service.j2
Original file line number Diff line number Diff line change
@@ -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

[Service]
Expand Down
2 changes: 1 addition & 1 deletion files/build_templates/sflow.service.j2
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Unit]
Description=sFlow container
Requires=swss.service
After=swss.service
After=swss.service syncd.service
Before=ntp-config.service

[Service]
Expand Down
2 changes: 1 addition & 1 deletion files/build_templates/snmp.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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

[Service]
Expand Down
2 changes: 1 addition & 1 deletion files/build_templates/telemetry.service.j2
Original file line number Diff line number Diff line change
@@ -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]
Expand Down