summaryrefslogtreecommitdiff
path: root/tests/plugins/service/configs/.rr-service-init.yaml
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-04-20 10:06:45 +0300
committerGitHub <[email protected]>2021-04-20 10:06:45 +0300
commit3362f211f6358d60bea47ac2de4cc29a47373973 (patch)
treed36dc3ce9a36fff1b15b8795e8fa08d397317d14 /tests/plugins/service/configs/.rr-service-init.yaml
parent35d6a50aa3640c870b99c120b26c9b9012b424be (diff)
parent779cc3f5aebb749ab4bc6190e03cc86ff3f151a0 (diff)
#634 feat(plugin): new plugin `service`v2.1.0-beta.2
feat(plugin): new plugin `service`
Diffstat (limited to 'tests/plugins/service/configs/.rr-service-init.yaml')
-rw-r--r--tests/plugins/service/configs/.rr-service-init.yaml22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/plugins/service/configs/.rr-service-init.yaml b/tests/plugins/service/configs/.rr-service-init.yaml
new file mode 100644
index 00000000..e32f2eda
--- /dev/null
+++ b/tests/plugins/service/configs/.rr-service-init.yaml
@@ -0,0 +1,22 @@
+service:
+ some_service_1:
+ command: "php test_files/loop.php"
+ process_num: 1
+ exec_timeout: 5s # s,m,h (seconds, minutes, hours)
+ remain_after_exit: true
+ restart_sec: 1
+ some_service_2:
+ command: "test_files/test_binary"
+ process_num: 1
+ remain_after_exit: true
+ restart_delay: 1s
+ exec_timeout: 5s
+
+logs:
+ level: info
+ mode: raw
+
+endure:
+ grace_period: 120s
+ print_graph: false
+ log_level: error