blob: c006470779261674d4f2fdb2d8f634ce23e9f0bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
[Unit]
Description=Rust music player daemon
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
|