2017-05-08 17:43:31 -05:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2017-10-05 01:35:43 -05:00
|
|
|
# Remove stale rsyslog PID file if it exists
|
2017-03-29 20:07:25 -05:00
|
|
|
rm -f /var/run/rsyslogd.pid
|
2017-05-08 17:43:31 -05:00
|
|
|
|
2017-10-05 01:35:43 -05:00
|
|
|
# Start rsyslog
|
2017-05-08 17:43:31 -05:00
|
|
|
supervisorctl start rsyslogd
|
2017-03-29 20:07:25 -05:00
|
|
|
|
2017-10-05 01:35:43 -05:00
|
|
|
# Wait for all interfaces to come up before starting the DHCP relay agent(s)
|
2017-09-12 16:13:27 -05:00
|
|
|
/usr/bin/wait_for_intf.sh
|
2017-03-16 12:40:33 -05:00
|
|
|
|
2017-10-05 01:35:43 -05:00
|
|
|
# Start the DHCP relay agent(s)
|
|
|
|
supervisorctl start isc-dhcp-relay:*
|