aboutsummarylogtreecommitdiffstats
path: root/rmpd.service
blob: 461f0c1fded9e7734aede80fd844b624a9ed56b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=rmpd - Music Player Daemon (Rust implementation)
Documentation=https://github.com/M0Rf30/rmpd
After=network.target sound.target

[Service]
Type=simple
ExecStart=/usr/bin/rmpd
Restart=on-failure
RestartSec=5

# Security hardening
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=read-only
ReadWritePaths=%h/.config/rmpd %h/Music

[Install]
WantedBy=default.target