summaryrefslogtreecommitdiff
path: root/tests/plugins/service/configs/.rr-service-error.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-04-19 16:42:28 +0300
committerValery Piashchynski <[email protected]>2021-04-19 16:42:28 +0300
commitbaa12b092578d41218585d918fb7e1425700272d (patch)
tree91881bd0ac32c609ea01fafe3bbc15a13a67c392 /tests/plugins/service/configs/.rr-service-error.yaml
parent112b7b60bbc045f4935e1766be9d2266abf68b31 (diff)
- Add tests, update Informer implementation
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/service/configs/.rr-service-error.yaml')
-rw-r--r--tests/plugins/service/configs/.rr-service-error.yaml16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/plugins/service/configs/.rr-service-error.yaml b/tests/plugins/service/configs/.rr-service-error.yaml
new file mode 100644
index 00000000..3b0f1eb9
--- /dev/null
+++ b/tests/plugins/service/configs/.rr-service-error.yaml
@@ -0,0 +1,16 @@
+service:
+ some_service_1:
+ command: "php test_files/loopo.php"
+ process_num: 1
+ exec_timeout: 5s # s,m,h (seconds, minutes, hours)
+ remain_after_exit: true
+ restart_sec: 1
+
+logs:
+ level: info
+ mode: raw
+
+endure:
+ grace_period: 120s
+ print_graph: false
+ log_level: error