1
0
mirror of https://github.com/tonarino/innernet.git synced 2024-11-28 08:58:37 +02:00
innernet/client
Matěj Laitl 1b260823f9
client, server systemd units: make Restart=always truly respected (#184)
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.
2022-01-12 04:58:28 +09:00
..
.rpm client, server: fix RPM build issue. 2021-06-01 01:30:40 +09:00
src server: cargo fmt 2022-01-11 01:54:59 -06:00
.gitignore kabloomers. public release v1.0.0 2021-03-30 02:47:34 +09:00
Cargo.toml meta: rust edition 2018 -> 2021 2022-01-11 01:54:43 -06:00
innernet.target systemd: Add file innernet.target 2021-04-06 23:22:28 +09:00
innernet@.service client, server systemd units: make Restart=always truly respected (#184) 2022-01-12 04:58:28 +09:00