aboutsummaryrefslogtreecommitdiffstats
path: root/.config/systemd/user/mpd@.service
blob: 0e273cc211f2296d54e138ee41841981fe103376 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Music Player Daemon
After=network.target sound.target
Conflicts=mpd.service

[Service]
ExecStart=/usr/bin/mpd --no-daemon %h/.config/mpd/%i.conf
LimitRTPRIO=75
LimitRTTIME=infinity
ProtectSystem=yes
NoNewPrivileges=yes
ProtectKernelTunables=yes
ProtectControlGroups=yes
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX AF_NETLINK
RestrictNamespaces=yes

[Install]
WantedBy=default.target