mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 21:26:21 +00:00
monit
This commit is contained in:
parent
233e6bc5f9
commit
f7e87a441c
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
||||||
# Limpiar mensualmente
|
# Limpiar mensualmente
|
||||||
check program cleanup
|
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 * *"
|
every "0 3 1 * *"
|
||||||
if status != 0 then alert
|
if status != 0 then alert
|
||||||
|
|
||||||
check program access_logs
|
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 * * *"
|
every "0 0 * * *"
|
||||||
if status != 0 then alert
|
if status != 0 then alert
|
||||||
|
|
Loading…
Reference in a new issue