Browse Source

Add ReadWritePaths directive to service files (#17178)

* Update mastodon-web.service

* Update mastodon-streaming.service

* Update mastodon-sidekiq.service
closed-social-glitch-2
Lerk 2 years ago
committed by GitHub
parent
commit
56c55ab9f6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions
  1. +1
    -0
      dist/mastodon-sidekiq.service
  2. +1
    -0
      dist/mastodon-streaming.service
  3. +1
    -0
      dist/mastodon-web.service

+ 1
- 0
dist/mastodon-sidekiq.service View File

@ -47,6 +47,7 @@ SystemCallFilter=~@cpu-emulation @debug @keyring @ipc @mount @obsolete @privileg
SystemCallFilter=@chown
SystemCallFilter=pipe
SystemCallFilter=pipe2
ReadWritePaths=/home/mastodon/live
[Install]
WantedBy=multi-user.target

+ 1
- 0
dist/mastodon-streaming.service View File

@ -45,6 +45,7 @@ SystemCallArchitectures=native
SystemCallFilter=~@cpu-emulation @debug @keyring @ipc @memlock @mount @obsolete @privileged @resources @setuid
SystemCallFilter=pipe
SystemCallFilter=pipe2
ReadWritePaths=/home/mastodon/live
[Install]
WantedBy=multi-user.target

+ 1
- 0
dist/mastodon-web.service View File

@ -47,6 +47,7 @@ SystemCallFilter=~@cpu-emulation @debug @keyring @ipc @mount @obsolete @privileg
SystemCallFilter=@chown
SystemCallFilter=pipe
SystemCallFilter=pipe2
ReadWritePaths=/home/mastodon/live
[Install]
WantedBy=multi-user.target

Loading…
Cancel
Save