S JavaScriptem funguje tato webová stránka lépe.
Domů
Procházet
Nápověda
Přihlásit se
bubblev
/
bubble
Sledovat
9
Oblíbit
0
Rozštěpit
0
Zdrojový kód
Úkoly
0
Požadavky na natažení
0
Vydání
130
Wiki
Aktivita
Procházet zdrojové kódy
Link postgres log folder from withing bubble log folder
pull/59/head
Kristijan Mitrovic
před 4 roky
rodič
3f35eb62cc
revize
b89c6bc4e4
1 změnil soubory
, kde provedl
8 přidání
a
0 odebrání
Rozdělené zobrazení
Diff Options
Zobrazit statistiky
Stáhněte soubor opravy
Stáhněte rozdílový soubor
+8
-0
bubble-server/src/main/resources/packer/roles/bubble/tasks/postgresql.yml
+ 8
- 0
bubble-server/src/main/resources/packer/roles/bubble/tasks/postgresql.yml
Zobrazit soubor
@@ -36,3 +36,11 @@
special_time: "hourly"
user: "postgres"
job: "HOUR_AGO=$(date -d '1 month ago' +\"%s000\") && psql -d bubble -c \"DELETE FROM sent_notification WHERE mtime < ${HOUR_AGO}\" -c \"DELETE FROM received_notification WHERE mtime < ${HOUR_AGO}\""
- name: Link to postgres log dir from bubble's log dir
file:
src: /var/log/postgresql
dest: /var/log/bubble/postgresql
owner: root
group: postgres
state: link
Zapsat
Náhled
Načítá se…
Zrušit
Uložit