mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 23:25:56 -05:00
[docs] Add service file info to README for Pulseaudio
This commit is contained in:
parent
c4e114cbd4
commit
27bb2b6c5a
@ -10,17 +10,30 @@ How to start Pulseaudio depends on your distribution, but in many cases you will
|
||||
need to add a pulseaudio.service file to /etc/systemd/system with the following
|
||||
content:
|
||||
|
||||
[TBD]
|
||||
```
|
||||
# systemd service file for Pulseaudio running in system mode
|
||||
[Unit]
|
||||
Description=Pulseaudio sound server
|
||||
Before=sound.target
|
||||
|
||||
After you have added the file you can check it is running with "systemctl
|
||||
pulseaudio status".
|
||||
[Service]
|
||||
ExecStart=/usr/bin/pulseaudio --system --disallow-exit
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
```
|
||||
|
||||
After you have added the file you can start it with "systemctl start pulseaudio"
|
||||
and enable it on boot with "systemctl enable pulseaudio".
|
||||
|
||||
|
||||
## Setting up forked-daapd:
|
||||
|
||||
Add the forked-daapd user to the pulse-access group:
|
||||
|
||||
`adduser daapd pulse-access`
|
||||
```
|
||||
adduser daapd pulse-access
|
||||
```
|
||||
|
||||
|
||||
## Bluetooth
|
||||
|
Loading…
Reference in New Issue
Block a user