This website works better with JavaScript.
Почетна
Преглед
Помоћ
Пријавите Се
bubblev
/
bubble
Прати
9
Волим
0
Креирај огранак
0
Код
Дискусије
0
Захтеви за спајање
0
Издања
130
Вики
Activity
Преглед изворни кода
Link postgres log folder from withing bubble log folder
pull/59/head
Kristijan Mitrovic
пре 4 година
родитељ
3f35eb62cc
комит
b89c6bc4e4
1 измењених фајлова
са
8 додато
и
0 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Прегледај датотеку
@@ -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
Write
Preview
Loading…
Откажи
Сачувај