mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
nixos/systemd: Add onSuccess module option for units
This commit is contained in:
parent
79b72e2110
commit
fbc8dbb075
2 changed files with 11 additions and 0 deletions
|
@ -201,6 +201,15 @@ in rec {
|
|||
'';
|
||||
};
|
||||
|
||||
onSuccess = mkOption {
|
||||
default = [];
|
||||
type = types.listOf unitNameType;
|
||||
description = ''
|
||||
A list of one or more units that are activated when
|
||||
this unit enters the "inactive" state.
|
||||
'';
|
||||
};
|
||||
|
||||
startLimitBurst = mkOption {
|
||||
type = types.int;
|
||||
description = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue