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

View file

@ -69,14 +69,14 @@ PIPEWIRE_DEBUG=4 make run
``` ```
You might have to stop the pipewire service/socket that might have been 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.service \
systemctl --user stop pipewire.socket pipewire.socket \
systemctl --user stop pipewire-media-session.service pipewire-media-session.service \
systemctl --user stop pipewire-pulse.service pipewire-pulse.service \
systemctl --user stop pipewire-pulse.socket pipewire-pulse.socket
``` ```
## Installing ## Installing
@ -100,13 +100,12 @@ running. PipeWire is usually started as a systemd unit using
socket activation or as a service. socket activation or as a service.
Configuration of the PipeWire daemon can be found in 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. config file for more information about the configuration options.
The daemon is started with: The daemon is started with:
``` ```
systemctl --user start pipewire.service systemctl --user start pipewire.service pipewire.socket
systemctl --user start pipewire.socket
``` ```
If you did not start the media-session in pipewire.conf, you will 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 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 ### 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`) from PipeWire itself. (See `/etc/pipewire/pipewire.conf`)
``` ```
systemctl --user start pipewire-pulse.service systemctl --user start pipewire-pulse.service pipewire-pulse.socket
systemctl --user start pipewire-pulse.socket
``` ```
You can also start additional PulseAudio servers listening on other You can also start additional PulseAudio servers listening on other