Skip to content

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

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

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

Conversation

@shaheerem

@shaheerem shaheerem commented Jun 23, 2023

Copy link
Copy Markdown

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

taobig commented Apr 15, 2024

Copy link
Copy Markdown

@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

@emFKB emFKB left a comment

Copy link
Copy Markdown

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