Skip to content

Commit

Permalink
restrict tio-trim-cache.service's write access to /srv/cache
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisMitchell committed Mar 26, 2019
1 parent 4a51ba3 commit b1967d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/systemd/tio-trim-cache.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ Description=Trim TIO's output cache
Type=oneshot
User=apache
Group=apache
ProtectSystem=strict
ProtectHome=tmpfs
ReadWritePaths=/srv/cache
ExecStart=/srv/bin/trim-cache

0 comments on commit b1967d1

Please sign in to comment.