Add helper scripts

This commit is contained in:
asonix 2024-02-14 13:37:47 -06:00
parent dd613cbd21
commit d654500674
10 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
bundle exec bin/tootctl accounts cull

View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
bundle exec bin/tootctl accounts refresh --all

3
root/usr/bin/mastodon-cache Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
bundle exec bin/tootctl cache clear

3
root/usr/bin/mastodon-media Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
bundle exec bin/tootctl media remove

3
root/usr/bin/mastodon-migrate Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
bundle exec rails db:migrate

3
root/usr/bin/mastodon-sidekiq Executable file
View file

@ -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

View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
bundle exec sidekiq -c ${MAX_THREADS:-4} -q scheduler

3
root/usr/bin/mastodon-statuses Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
bundle exec bin/tootctl statuses remove

View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
yarn run start

3
root/usr/bin/mastodon-web Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env sh
bundle exec puma -C config/puma.rb