Files
network-alpine/src/init.sh
T
2026-07-17 22:37:57 +02:00

20 lines
427 B
Bash

#!/bin/sh
# Setup HTTP Server
if [[ "$HTTP_SERVER_DISABLE" == "false" ]]; then
# Set Port
sed -i "s/^.*server\.port.*/server.port = $HTTP_SERVER_PORT/" /etc/lighttpd/lighttpd.conf
# Start lighttpd
lighttpd -f /etc/lighttpd/lighttpd.conf
fi
# Start LLDP Deamon
lldpd
# Work through entrypoint scripts
find /docker-entrypoint-initdb.d/ -type f -executable -exec /bin/sh {} \;
# Open Shell for User
/bin/bash