From f7e87a441ce84b889c8e1921c8882da595872b85 Mon Sep 17 00:00:00 2001 From: f Date: Sat, 23 Apr 2022 20:35:07 -0300 Subject: [PATCH] monit --- monit.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monit.conf b/monit.conf index eabbc11e..a524c468 100644 --- a/monit.conf +++ b/monit.conf @@ -1,10 +1,10 @@ # Limpiar mensualmente check program cleanup - with path "/usr/bin/foreman run -f /srv/Procfile -d /srv " as uid "rails" gid "http-data" + with path "/usr/bin/foreman run -f /srv/Procfile -d /srv " as uid "rails" gid "www-data" every "0 3 1 * *" if status != 0 then alert check program access_logs - with path "/srv/bin/access_logs" as uid "app" and gid "www-data" + with path "/srv/bin/access_logs" as uid "rails" and gid "www-data" every "0 0 * * *" if status != 0 then alert