11 lines
196 B
Bash
11 lines
196 B
Bash
#!/bin/bash
|
|
|
|
ENTRY="./entrypoint.sh"
|
|
|
|
if [ "$1" == "ubuntu" ]; then
|
|
ENTRY="./entrypoint-ubuntu.sh"
|
|
service --status-all
|
|
service rsyslog start
|
|
fi
|
|
|
|
exec bash -xc $ENTRY 2>&1 | tee /root/stuff.log |