diff --git a/root/usr/bin/mastodon-accounts-cull b/root/usr/bin/mastodon-accounts-cull new file mode 100755 index 0000000..c17f683 --- /dev/null +++ b/root/usr/bin/mastodon-accounts-cull @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +bundle exec bin/tootctl accounts cull diff --git a/root/usr/bin/mastodon-accounts-refresh b/root/usr/bin/mastodon-accounts-refresh new file mode 100755 index 0000000..5487d98 --- /dev/null +++ b/root/usr/bin/mastodon-accounts-refresh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +bundle exec bin/tootctl accounts refresh --all diff --git a/root/usr/bin/mastodon-cache b/root/usr/bin/mastodon-cache new file mode 100755 index 0000000..7d3ef78 --- /dev/null +++ b/root/usr/bin/mastodon-cache @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +bundle exec bin/tootctl cache clear diff --git a/root/usr/bin/mastodon-media b/root/usr/bin/mastodon-media new file mode 100755 index 0000000..2b99c6e --- /dev/null +++ b/root/usr/bin/mastodon-media @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +bundle exec bin/tootctl media remove diff --git a/root/usr/bin/mastodon-migrate b/root/usr/bin/mastodon-migrate new file mode 100755 index 0000000..aadc8d5 --- /dev/null +++ b/root/usr/bin/mastodon-migrate @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +bundle exec rails db:migrate diff --git a/root/usr/bin/mastodon-sidekiq b/root/usr/bin/mastodon-sidekiq new file mode 100755 index 0000000..7d97425 --- /dev/null +++ b/root/usr/bin/mastodon-sidekiq @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +bundle exec sidekiq -c ${MAX_THREADS:-4} -q default -q mailers -q pull -q push -q ingress diff --git a/root/usr/bin/mastodon-sidekiq-scheduler b/root/usr/bin/mastodon-sidekiq-scheduler new file mode 100755 index 0000000..78d604a --- /dev/null +++ b/root/usr/bin/mastodon-sidekiq-scheduler @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +bundle exec sidekiq -c ${MAX_THREADS:-4} -q scheduler diff --git a/root/usr/bin/mastodon-statuses b/root/usr/bin/mastodon-statuses new file mode 100755 index 0000000..704f01f --- /dev/null +++ b/root/usr/bin/mastodon-statuses @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +bundle exec bin/tootctl statuses remove diff --git a/root/usr/bin/mastodon-streaming b/root/usr/bin/mastodon-streaming new file mode 100755 index 0000000..6821b8b --- /dev/null +++ b/root/usr/bin/mastodon-streaming @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +yarn run start diff --git a/root/usr/bin/mastodon-web b/root/usr/bin/mastodon-web new file mode 100755 index 0000000..6fb93f4 --- /dev/null +++ b/root/usr/bin/mastodon-web @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +bundle exec puma -C config/puma.rb