diff options
Diffstat (limited to 'etc/mpd.profile')
-rw-r--r-- | etc/mpd.profile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/etc/mpd.profile b/etc/mpd.profile new file mode 100644 index 000000000..44baab7e9 --- /dev/null +++ b/etc/mpd.profile | |||
@@ -0,0 +1,26 @@ | |||
1 | # Firejail profile for mpd | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include /etc/firejail/mpd.local | ||
5 | # Persistent global definitions | ||
6 | include /etc/firejail/globals.local | ||
7 | |||
8 | blacklist /boot | ||
9 | blacklist /media | ||
10 | blacklist /mnt | ||
11 | blacklist /opt | ||
12 | |||
13 | whitelist ${HOME}/.config/pulse/ | ||
14 | whitelist ${HOME}/.mpdconf | ||
15 | whitelist ${HOME}/.pulse/ | ||
16 | whitelist ${HOME}/Music | ||
17 | whitelist ${HOME}/mpd | ||
18 | include /etc/firejail/whitelist-common.inc | ||
19 | |||
20 | caps.drop all | ||
21 | noroot | ||
22 | seccomp | ||
23 | |||
24 | private-bin mpd,bash | ||
25 | private-dev | ||
26 | read-only ${HOME}/Music/ | ||