playlists/cantata-dynamic.service
raw| 1 | [Unit] |
| 2 | Description=Cantata Dynamic Server |
| 3 | Wants=mpd.service |
| 4 | After=mpd.service |
| 5 | |
| 6 | [Service] |
| 7 | User=mpd |
| 8 | Group=audio |
| 9 | Type=forking |
| 10 | ExecStart=/usr/share/cantata/scripts/cantata-dynamic server /etc/cantata-dynamic.conf |
| 11 | ExecStop=/usr/share/cantata/scripts/cantata-dynamic stopserver /etc/cantata-dynamic.conf |
| 12 | RuntimeDirectory=cantata-dynamic |
| 13 | PIDFile=/run/cantata-dynamic/pid |
| 14 | |
| 15 | [Install] |
| 16 | WantedBy=multi-user.target |