add audio group

This commit is contained in:
Cory Sanin 2025-04-30 21:51:22 -05:00
parent 1f328653f9
commit b4d1c3cd5a

View File

@ -3,6 +3,7 @@
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
id "dinnerbell" >/dev/null 2>&1 || useradd --system --no-create-home --shell /usr/sbin/nologin dinnerbell
usermod -aG audio dinnerbell && \
mkdir -p /opt/dinnerbell/ && \
/usr/bin/cp "$SCRIPT_DIR"/dinnerbell.py /opt/dinnerbell/dinnerbell.py && \
chmod +x /opt/dinnerbell/dinnerbell.py && \