mirror of
https://git.myvelabs.com/novnc/alpine.git
synced 2025-12-17 21:36:21 +00:00
15 lines
295 B
Bash
Executable file
15 lines
295 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Export all variables
|
|
set -a
|
|
|
|
# Abort if an error is encountered
|
|
set -e
|
|
|
|
# Run all scripts in init folder
|
|
for file in /app/init.d/*.sh
|
|
do
|
|
/bin/bash -c ${file} >>/app/logs/$(echo ${file} | sed 's|/app/init.d/||;s|\.sh$||').log
|
|
done
|
|
|
|
# Monitor log
|
|
tail -f /app/logs/*.log
|