Skip to content

Commit 3caab78

Browse files
authored
Fix bashio commands (#117)
1 parent 43ff579 commit 3caab78

File tree

1 file changed

+4
-4
lines changed
  • rootfs/etc/services.d/pulseaudio

1 file changed

+4
-4
lines changed

rootfs/etc/services.d/pulseaudio/run

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
# ==============================================================================
33
# Start PulseAudio service
44
# ==============================================================================
5-
declare puluse_args=()
5+
declare pulse_args=()
66

7-
if bashio::file.exists /data/pulse_audio.json; then
7+
if bashio::fs.file_exists /data/pulse_audio.json; then
88
# Debug option
99
if bashio::var.true "$(bashio::jq /data/pulse_audio.json '.debug')"; then
10-
puluse_args+=("-vvv")
10+
pulse_args+=("-vvv")
1111
fi
1212
else
1313
bashio::log.warning "No supervisor configuration found"
@@ -17,4 +17,4 @@ fi
1717
export PULSE_STATE_PATH="/data/states"
1818
export LD_PRELOAD="/usr/local/lib/libjemalloc.so.2"
1919

20-
exec pulseaudio --system --disallow-exit --exit-idle-time=-1 --disable-shm "${puluse_args[@]}"
20+
exec pulseaudio --system --disallow-exit --exit-idle-time=-1 --disable-shm "${pulse_args[@]}"

0 commit comments

Comments
 (0)