Commit graph

7 commits

Author SHA1 Message Date
Lerk
56c55ab9f6
Add ReadWritePaths directive to service files ()
* Update mastodon-web.service

* Update mastodon-streaming.service

* Update mastodon-sidekiq.service
2021-12-22 04:34:12 +01:00
Yurii Izorkin
a9ff5c8309
templates/systemd/mastodon: update sandbox mode ()
* templates/systemd/mastodon: add new sandboxing options

* templates/systemd/mastodon: add '@privileged' and remove duplicates SystemCallFilters

* templates/systemd/mastodon: add '@ipc' SystemCallFilter

* templates/systemd/mastodon: add '@memlock' SystemCallFilter

* templates/systemd/mastodon: allow '@resources' filter to mastodon-web service
2021-10-25 16:31:20 +02:00
Akihiko Odaki
8af7f3b063
Preload libjemalloc.so for long-running Ruby ()
Always mark jemalloc needed if jemalloc is enabled by akihikodaki · Pull Request  · ruby/ruby
https://github.com/ruby/ruby/pull/4627
> Symbols exported by jemalloc is referred by the shared library but not
> by the executables when building Ruby as a shared library with
> jemalloc. It causes shared libraries such as the GNU C++ library
> occasionally rely on the memory allocator provided by the standard C
> library. Worse, the resolved symbols can later be replaced with
> jemalloc, and jemalloc may see pointers from the standard C library,
> which results in various failures.
> e.g. https://github.com/tootsuite/mastodon/issues/15751

As a workaround, do not rely on jemalloc enablement of Ruby, and
preload libjemalloc.so instead.
2021-07-05 19:16:35 +02:00
Yurii Izorkin
7da104eb11
templates/systemd/mastodon: optimize SystemCallFilters () 2021-04-27 20:34:53 +02:00
Yurii Izorkin
863ae47b51
templates/systemd/mastodon: update sandbox mode () 2021-04-24 13:41:03 +02:00
Yurii Izorkin
297a3cf904
templates/systemd/mastodon: enable sandbox mode () 2021-03-24 10:46:13 +01:00
Eugen Rochko
6465972caf
Add nginx and systemd templates ()
So they can be copied during installation instead of looking
them up in the documentation

Make default sidekiq configuration use weighted queues

Remove deprecated docs directory
2018-09-24 16:46:05 +02:00