k 3 monit: allow path or str for alarms & test
This commit is contained in:
parent
fd6c056a72
commit
5fe56a99b8
@ -49,10 +49,10 @@ let
|
|||||||
type = with types; attrsOf (submodule {
|
type = with types; attrsOf (submodule {
|
||||||
options = {
|
options = {
|
||||||
test = mkOption {
|
test = mkOption {
|
||||||
type = path;
|
type = either path str;
|
||||||
};
|
};
|
||||||
alarm = mkOption {
|
alarm = mkOption {
|
||||||
type = path;
|
type = either path str;
|
||||||
};
|
};
|
||||||
interval = mkOption {
|
interval = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
|
Loading…
Reference in New Issue
Block a user