Skip to content

Commit

Permalink
Merge pull request #475 from vchepkov/seconds
Browse files Browse the repository at this point in the history
allow service time settings to accept Integer values
  • Loading branch information
bastelfreak authored Jul 8, 2024
2 parents 3317560 + a4d1274 commit ee85084
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2903,16 +2903,16 @@ Struct[{
Optional['DevicePolicy'] => Enum['auto','closed','strict'],
Optional['Slice'] => String[1],
Optional['Delegate'] => Boolean,
Optional['RestartSec'] => String,
Optional['TimeoutStartSec'] => String,
Optional['TimeoutStopSec'] => String,
Optional['TimeoutAbortSec'] => String,
Optional['TimeoutSec'] => String,
Optional['RestartSec'] => Variant[Integer[0],String],
Optional['TimeoutStartSec'] => Variant[Integer[0],String],
Optional['TimeoutStopSec'] => Variant[Integer[0],String],
Optional['TimeoutAbortSec'] => Variant[Integer[0],String],
Optional['TimeoutSec'] => Variant[Integer[0],String],
Optional['TimeoutStartFailureMode'] => Enum['terminate', 'abort', 'kill'],
Optional['TimeoutStopFailureMode'] => Enum['terminate', 'abort', 'kill'],
Optional['RuntimeMaxSec'] => String,
Optional['RuntimeRandomizedExtraSec'] => String,
Optional['WatchdogSec'] => String,
Optional['RuntimeMaxSec'] => Variant[Integer[0],String],
Optional['RuntimeRandomizedExtraSec'] => Variant[Integer[0],String],
Optional['WatchdogSec'] => Variant[Integer[0],String],
Optional['Restart'] => Enum['no', 'on-success', 'on-failure', 'on-abnormal', 'on-watchdog', 'on-abort', 'always'],
Optional['SuccessExitStatus'] => String,
Optional['RestartPreventExitStatus'] => String,
Expand Down
16 changes: 8 additions & 8 deletions types/unit/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,16 @@
Optional['DevicePolicy'] => Enum['auto','closed','strict'],
Optional['Slice'] => String[1],
Optional['Delegate'] => Boolean,
Optional['RestartSec'] => String,
Optional['TimeoutStartSec'] => String,
Optional['TimeoutStopSec'] => String,
Optional['TimeoutAbortSec'] => String,
Optional['TimeoutSec'] => String,
Optional['RestartSec'] => Variant[Integer[0],String],
Optional['TimeoutStartSec'] => Variant[Integer[0],String],
Optional['TimeoutStopSec'] => Variant[Integer[0],String],
Optional['TimeoutAbortSec'] => Variant[Integer[0],String],
Optional['TimeoutSec'] => Variant[Integer[0],String],
Optional['TimeoutStartFailureMode'] => Enum['terminate', 'abort', 'kill'],
Optional['TimeoutStopFailureMode'] => Enum['terminate', 'abort', 'kill'],
Optional['RuntimeMaxSec'] => String,
Optional['RuntimeRandomizedExtraSec'] => String,
Optional['WatchdogSec'] => String,
Optional['RuntimeMaxSec'] => Variant[Integer[0],String],
Optional['RuntimeRandomizedExtraSec'] => Variant[Integer[0],String],
Optional['WatchdogSec'] => Variant[Integer[0],String],
Optional['Restart'] => Enum['no', 'on-success', 'on-failure', 'on-abnormal', 'on-watchdog', 'on-abort', 'always'],
Optional['SuccessExitStatus'] => String,
Optional['RestartPreventExitStatus'] => String,
Expand Down

0 comments on commit ee85084

Please sign in to comment.