Setting `RestartSec` is not enough to enable auto-restart; the `Restart` option is also required, as it defaults to `no`.
8 lines
92 B
Plaintext
8 lines
92 B
Plaintext
[Unit]
|
|
StartLimitIntervalSec=60
|
|
StartLimitBurst=10
|
|
|
|
[Service]
|
|
Restart=always
|
|
RestartSec=10s
|