void-packages/srcpkgs/sndio/files/sndiod/run
Duncaen c5a71e6441 sndio: fix service and split into libsndio
Based on changes from @ebfe:
Let sndio drop privileges so it creates a unix socket clients can find
(/tmp/aucat/aucatX). Add sndiod to the audio group so it can access
/dev/snd/* devices. Use the primary group for it to let sndiod use the
right path for the listening unix socket.
2017-12-08 18:25:42 +01:00

3 lines
62 B
Bash
Executable file

#!/bin/sh
[ -r conf ] && . ./conf
exec sndiod ${OPTS} -d 2>&1