mirror of
https://github.com/cytopia/devilbox.git
synced 2025-01-18 10:46:23 +00:00
Check supervisor configs with check-config.sh
This commit is contained in:
parent
e9281c9b40
commit
fda37efc64
@ -504,6 +504,7 @@ DEVILBOX_DIRS=(
|
||||
"compose"
|
||||
"log"
|
||||
"mod"
|
||||
"supervisor"
|
||||
)
|
||||
|
||||
# Check allowed directory permissions: 0755 0775 0777
|
||||
@ -572,6 +573,7 @@ DEVILBOX_DIRS=(
|
||||
"cfg"
|
||||
"compose"
|
||||
"mod"
|
||||
"supervisor"
|
||||
)
|
||||
|
||||
# Check allowed directory permissions: 0644 0664 0666
|
||||
@ -833,6 +835,14 @@ else
|
||||
log_debug "[startup] No custom script present in autostart/"
|
||||
fi
|
||||
|
||||
# supervisor/
|
||||
if find "supervisor" | grep -E '\.conf$' >/dev/null; then
|
||||
log_note "[supervisor] Custom config present in supervisor/"
|
||||
CUSTOMIZATIONS=$(( CUSTOMIZATIONS + 1 ))
|
||||
else
|
||||
log_debug "[supervisor] No custom config present in supervisor/"
|
||||
fi
|
||||
|
||||
# bash/
|
||||
if find "bash" | grep -E '\.sh$' >/dev/null; then
|
||||
log_note "[bash] Custom script present in bash/"
|
||||
|
Loading…
Reference in New Issue
Block a user