mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
Sleep the worker if redis is disabled
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd /back
|
||||
if [[ ${ENABLE_EXPERIMENTAL_REDIS} == "true" ]]; then rq worker high default low --logging_level WARN; fi
|
||||
[[ ${ENABLE_EXPERIMENTAL_REDIS} == "true" ]] && rq worker high default low --logging_level WARN || sleep infinity
|
||||
|
||||
Reference in New Issue
Block a user