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:
+3
-3
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user