Skip to content

Parameterize RestartSec for systemd linux service. Default to 120s.#374

Open
shaheerem wants to merge 1 commit intokardianos:masterfrom
shaheerem:parameterize-RestartSec-option
Open

Parameterize RestartSec for systemd linux service. Default to 120s.#374
shaheerem wants to merge 1 commit intokardianos:masterfrom
shaheerem:parameterize-RestartSec-option

Conversation

@shaheerem
Copy link
Copy Markdown

@shaheerem shaheerem commented Jun 23, 2023

This PR adds optional parameter for RestartSec for linux systemd service, this parameter was hard coded to 120s before, sometimes we need the app to restart after a smaller interval or dynamic interval set in the configs.

@gianmarco4sec
Copy link
Copy Markdown

It would be nice to have this also for RestartMaxDelaySec and RestartStep

@taobig
Copy link
Copy Markdown

taobig commented Apr 15, 2024

@kardianos Any plans to merge this?

@Darkheir
Copy link
Copy Markdown

I would also be interested by this feature!

@WillyWinkel
Copy link
Copy Markdown

ups, didnt know I am allowed to actually give my approval to the PR. sorry

Copy link
Copy Markdown

@emFKB emFKB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants