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
17 lines
238 B
Bash
Executable File
17 lines
238 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
start_mlnx()
|
|
{
|
|
[ -e /dev/sxdevs/sxcdev ] || ( mkdir -p /dev/sxdevs && mknod /dev/sxdevs/sxcdev c 231 193 )
|
|
}
|
|
|
|
|
|
rm -f /var/run/rsyslogd.pid
|
|
|
|
supervisorctl start rsyslogd
|
|
|
|
start_mlnx
|
|
|
|
supervisorctl start saiserver
|
|
|