本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
bubblev
/
bubble
關注
9
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
130
Wiki
活動
瀏覽代碼
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…
取消
儲存