LADI
/
spa
1
Fork 0

docs: Fit systemd services into one command for convenience

... also added some information about enabling pipewire-media-session.service
This commit is contained in:
Ivan 2021-02-25 21:18:37 +02:00 committed by Wim Taymans
parent f7d756460e
commit 08445d2c4a
1 changed files with 14 additions and 11 deletions

View File

@ -69,14 +69,14 @@ PIPEWIRE_DEBUG=4 make run
```
You might have to stop the pipewire service/socket that might have been
started already, with:
started already, with:
```
systemctl --user stop pipewire.service
systemctl --user stop pipewire.socket
systemctl --user stop pipewire-media-session.service
systemctl --user stop pipewire-pulse.service
systemctl --user stop pipewire-pulse.socket
systemctl --user stop pipewire.service \
pipewire.socket \
pipewire-media-session.service \
pipewire-pulse.service \
pipewire-pulse.socket
```
## Installing
@ -100,13 +100,12 @@ running. PipeWire is usually started as a systemd unit using
socket activation or as a service.
Configuration of the PipeWire daemon can be found in
/etc/pipewire/pipewire.conf. Please refer to the comments in the
/etc/pipewire/pipewire.conf. Please refer to the comments in the
config file for more information about the configuration options.
The daemon is started with:
```
systemctl --user start pipewire.service
systemctl --user start pipewire.socket
systemctl --user start pipewire.service pipewire.socket
```
If you did not start the media-session in pipewire.conf, you will
@ -114,6 +113,11 @@ also need to start it like this:
```
systemctl --user start pipewire-media-session.service
```
To make it start on system startup:
```
systemctl --user enable pipewire-media-session.service
```
you can write ```enable --now``` to start service immediately.
### ALSA plugin
@ -197,8 +201,7 @@ The server can be started with provided systemd activation files or
from PipeWire itself. (See `/etc/pipewire/pipewire.conf`)
```
systemctl --user start pipewire-pulse.service
systemctl --user start pipewire-pulse.socket
systemctl --user start pipewire-pulse.service pipewire-pulse.socket
```
You can also start additional PulseAudio servers listening on other