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

[OPS-1402] Add systemd unit restart policy #96

Merged
merged 1 commit into from
Jan 17, 2024

Commits on Jan 17, 2024

  1. [OPS-1402] Add systemd unit restart policy

    Problem: By default, systemd services generated from the NixOS system configuration don't attempt to restart on failure since Restart=no. However, in some cases, running processes can fail for unclear reasons, and the simplest way to bring the failed service back to life is to restart it. Instead, currently, the service will fail and trigger an alert without attempting to restart.
    
    Solution: Add default values for startLimitBurst, startLimitIntervalSec, Restart, and RestartSec.
    Sereja313 committed Jan 17, 2024
    Configuration menu
    Copy the full SHA
    f882147 View commit details
    Browse the repository at this point in the history