瀏覽代碼

Shut-up mastodon media cleanup cronjob

Thomas Buck 5 年之前
父節點
當前提交
2a935fed65
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      roles/mastodon/tasks/mastodon.yml

+ 1
- 1
roles/mastodon/tasks/mastodon.yml 查看文件

@@ -218,7 +218,7 @@
218 218
     name: "media cleanup"
219 219
     minute: "15"
220 220
     hour: "1"
221
-    job: '/bin/bash -c ''export PATH="$HOME/.rbenv/bin:$PATH"; eval "$(rbenv init -)"; cd /home/mastodon/mastodon && RAILS_ENV=production ./bin/tootctl media remove'''
221
+    job: '/bin/bash -c ''export PATH="$HOME/.rbenv/bin:$PATH"; eval "$(rbenv init -)"; cd /home/mastodon/mastodon && RAILS_ENV=production ./bin/tootctl media remove > /dev/null'''
222 222
   become: true
223 223
   become_user: mastodon
224 224
 

Loading…
取消
儲存