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

client, server systemd units: make Restart=always truly respected #184

Merged
merged 2 commits into from
Jan 11, 2022

Commits on Jan 6, 2022

  1. client, server systemd units: make Restart=always truly respected

    Surprisingly, Restart=always may not _always_ restart the unit if it restarts too fast.
    
    Set a combination of options which should make systemd truly restart innernet always.
    See https://unix.stackexchange.com/q/289629/352972.
    
    The `RestartSec=60` is the main and important one which would prevent systemd from ever failing
    to restart innernet in the default settings (because with it it would never exceed the default
    limit of 5 restarts in 10 seconds).
    
    `StartLimitIntervalSec=0` option is a complementary one for explicitly disabling the logic, and
    may be removed from this PR if deemed unnecessary.
    
    Should fix tonarino/portal#1441 (link to issue in private repository).
    strohel committed Jan 6, 2022
    Configuration menu
    Copy the full SHA
    4ade7b8 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2022

  1. Configuration menu
    Copy the full SHA
    d7fa255 View commit details
    Browse the repository at this point in the history