8f348399f5
- Consolidate config.sh and start.sh scripts into one script (start.sh) - Solve issue #435 - All dockers now run supervisord as their ENTRYPOINT - All stdout/stderr output from processes managed by supervisord is now sent to syslog instead of their own files - Supervisord log messages are now also sent to syslog - Removed unused smartmontools package from docker-platform-monitor
20 lines
529 B
Bash
Executable File
20 lines
529 B
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
# Based off /etc/init.d/isc-dhcp-relay
|
|
#
|
|
|
|
# Read init script configuration (interfaces the daemon should listen on
|
|
# and the DHCP server we should forward requests to.)
|
|
[ -f /etc/default/isc-dhcp-relay ] && . /etc/default/isc-dhcp-relay
|
|
|
|
# Build command line for interfaces (will be passed to dhrelay below.)
|
|
IFCMD=""
|
|
if test "$INTERFACES" != ""; then
|
|
for I in $INTERFACES; do
|
|
IFCMD=${IFCMD}"-i "${I}" "
|
|
done
|
|
fi
|
|
|
|
exec /usr/sbin/dhcrelay -d -q ${OPTIONS} ${IFCMD} ${SERVERS}
|
|
|