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

[build][systemd] Mask disabled services by default #4721

Merged
merged 2 commits into from
Jun 24, 2020
Merged

[build][systemd] Mask disabled services by default #4721

merged 2 commits into from
Jun 24, 2020

Conversation

jleveque
Copy link
Contributor

@jleveque jleveque commented Jun 6, 2020

When building the SONiC image, used systemd to mask all services which are set to "disabled" in init_cfg.json.

This PR depends on sonic-net/sonic-utilities#944, otherwise `config load_minigraph will fail when trying to restart disabled services.

@jleveque jleveque changed the title [build][systemd] Mask services which are disabled by default [build][systemd] Mask disabled services by default Jun 17, 2020
@jleveque jleveque merged commit 63d2efb into sonic-net:master Jun 24, 2020
@jleveque jleveque deleted the mask_disabled_services_in_image branch June 24, 2020 22:25
abdosi pushed a commit that referenced this pull request Jun 28, 2020
When building the SONiC image, used systemd to mask all services which are set to "disabled" in init_cfg.json.

This PR depends on sonic-net/sonic-utilities#944, otherwise `config load_minigraph will fail when trying to restart disabled services.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants