Do not start SPS as s6 service to avoid passing arguments via -e

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König
2023-03-07 22:08:11 +01:00
parent f79c3e1579
commit b6e691263e
17 changed files with 33 additions and 27 deletions
+3 -3
View File
@@ -31,12 +31,12 @@ $ docker run -d --restart unless-stopped --net host --device /dev/snd \
### Options
To pass command line options to Shairport Sync they need to be set with `-e ARG=`. Here is an example:
Command line options will be passed to Shairport Sync. Here is an example:
```
$ docker run -d --restart unless-stopped --net host --device /dev/snd \
-e ARG="-v --statistics -a DenSystem -d hw:0 -c PCM" \
mikebrady/shairport-sync:latest
mikebrady/shairport-sync:latest \
-v --statistics -a DenSystem -d hw:0 -c PCM
```
This will send audio to alsa hardware device `hw:0` and make use of the that device's mixer control called `PCM`. The service will be visible as `DenSystem` on the network.