diff options
| author | yalh76 <yalh@yahoo.com> | 2022-01-31 19:35:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-31 19:35:13 +0100 |
| commit | 1739904d6799f9a10addc650ea316cf5d0cc00c9 (patch) | |
| tree | 419564b62f0afe08d88a5528e825ba899c86ecfc /conf | |
| parent | df52f82e19c7f24a4dad26cb03b36f94201186a9 (diff) | |
| parent | b2e89a55dfa2102faf300d95d615f9f3ac1aac5b (diff) | |
| download | mastodon_ynh-1739904d6799f9a10addc650ea316cf5d0cc00c9.tar.gz mastodon_ynh-1739904d6799f9a10addc650ea316cf5d0cc00c9.tar.bz2 mastodon_ynh-1739904d6799f9a10addc650ea316cf5d0cc00c9.zip | |
Merge pull request #300 from YunoHost-Apps/testing
[enh] Workaround for bullseye
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/cron | 10 | ||||
| -rw-r--r-- | conf/mastodon-sidekiq.service | 1 | ||||
| -rw-r--r-- | conf/mastodon-web.service | 1 |
3 files changed, 7 insertions, 5 deletions
@@ -1,5 +1,5 @@ -@daily cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ RAILS_ENV=production bin/tootctl media remove -@monthly cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ RAILS_ENV=production bin/tootctl media remove-orphans -@monthly cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ RAILS_ENV=production bin/tootctl accounts cull -@monthly cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ RAILS_ENV=production bin/tootctl statuses remove -@monthly cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ RAILS_ENV=production bin/tootctl preview_cards remove +@daily cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl media remove +@monthly cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl media remove-orphans +@monthly cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl accounts cull +@monthly cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl statuses remove +@monthly cd __FINAL_PATH__/live && sudo -u __APP__ __YNH_RUBY_LOAD_PATH__ __LD_PRELOAD__ RAILS_ENV=production bin/tootctl preview_cards remove diff --git a/conf/mastodon-sidekiq.service b/conf/mastodon-sidekiq.service index f91b7b9..47fe663 100644 --- a/conf/mastodon-sidekiq.service +++ b/conf/mastodon-sidekiq.service @@ -6,6 +6,7 @@ After=network.target Type=simple User=__APP__ WorkingDirectory=__FINALPATH__/live +Environment="__LD_PRELOAD__" Environment="RAILS_ENV=production" Environment="DB_POOL=25" Environment="MALLOC_ARENA_MAX=2" diff --git a/conf/mastodon-web.service b/conf/mastodon-web.service index 24ab72a..edf41f7 100644 --- a/conf/mastodon-web.service +++ b/conf/mastodon-web.service @@ -6,6 +6,7 @@ After=network.target Type=simple User=__APP__ WorkingDirectory=__FINALPATH__/live +Environment="__LD_PRELOAD__" Environment="RAILS_ENV=production" Environment="PORT=__PORT_WEB__" ExecStart=__RBENV_ROOT__/versions/__APP__/bin/bundle exec puma -C config/puma.rb |
