feat: add remove media and preview cards to mastodon
This commit is contained in:
4
roles/mastodon/templates/remove_media.sh.j2
Normal file
4
roles/mastodon/templates/remove_media.sh.j2
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
cd {{ mastodon_home }}/live
|
||||
PATH={{ mastodon_home }}/bin:{{ mastodon_home }}/.local/bin:{{ mastodon_home }}/.rbenv/plugins/ruby-build/bin:{{ mastodon_home }}/.rbenv/shims:{{ mastodon_home }}/.rbenv/bin:/usr/bin:/bin
|
||||
RAILS_ENV=production bin/tootctl media remove
|
4
roles/mastodon/templates/remove_preview_cards.sh.j2
Normal file
4
roles/mastodon/templates/remove_preview_cards.sh.j2
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
cd {{ mastodon_home }}/live
|
||||
PATH={{ mastodon_home }}/bin:{{ mastodon_home }}/.local/bin:{{ mastodon_home }}/.rbenv/plugins/ruby-build/bin:{{ mastodon_home }}/.rbenv/shims:{{ mastodon_home }}/.rbenv/bin:/usr/bin:/bin
|
||||
RAILS_ENV=production bin/tootctl preview_cards remove
|
Reference in New Issue
Block a user