systemd on linux - add KillMode, KillSignal and TimeoutStopSec#387
systemd on linux - add KillMode, KillSignal and TimeoutStopSec#387avoidik wants to merge 1 commit intokardianos:masterfrom
Conversation
a645239 to
4417c3f
Compare
|
I believe this pull request is useful. Could you please take a look at it and consider merging it soon? Thanks! |
|
Can you doc the new specific flags? Will changing these, such as Kill mode, etc, alter how the service, by default works? What values should it expect? |
|
Hi @kardianos, Thank you for your feedback. Just to confirm, are you requesting that detailed documentation be added to the pull request, such as annotations and descriptions for the new options? Or are you expecting the definition of some global variables to declare the available values and default values for each option? To provide some context, here are brief explanations of these flags, along with their default values and expected ranges:
|
|
On on the fence on Timeout Stop Sec. The Kill signal, that would probably interfere with the current implementation of The Where is this need coming from? More broadly, I would be inclined to make separate system packages that have many options, such as systemd, then have service package be a generic package, with perhaps a system specific use cases. |
|
@kardianos it's quite good summary, I understand your desire to keep this package simple and as generic as possible, without implementing edge-case logic specific to downstream solutions, alternatively, you have left an option to be able to render our own custom template for units, in case of systemd it's called "SystemdScript", if we absolutely sure we'd want to use systemd this option is what we need, however this part hasn't been described in details |
hello,
with this PR I would like to introduce these new
[Service]scoped flags:KillModeKillSignalTimeoutStopSecaddresses:
related PRs: