From 86c947bb2ccd9224be3d12f6bfd2921ae599846e Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Fri, 27 Dec 2024 18:22:16 +0200 Subject: [PATCH] added another service example --- src/configs/services.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/configs/services.yml b/src/configs/services.yml index 39b861c7..7587a219 100644 --- a/src/configs/services.yml +++ b/src/configs/services.yml @@ -11,10 +11,10 @@ services: environment: - "KEY1=value1" - "KEY2=value2" - # - name: "another_service" - # command: "python another_service.py" - # autostart: "true" - # autorestart: "true" - # stderr_logfile: "/var/log/another_service.err.log" - # stdout_logfile: "/var/log/another_service.out.log" - # environment: [] # Even if empty, define it as an empty array + - name: "another_service" + command: "sh /usr/local/scripts/process_example.sh" + autostart: "true" + autorestart: "true" + stderr_logfile: "/var/log/supervisor/webapp2.err.log" + stdout_logfile: "/var/log/supervisor/webapp2.out.log" + environment: [] # Even if empty, define it as an empty array