Docker: Add a delay until snmpd unix socket created
This commit is contained in:
parent
2cdc78c576
commit
7a388b960a
3 changed files with 4 additions and 3 deletions
|
|
@ -129,8 +129,6 @@ openssl req -x509 -config ./ca.cnf -nodes -newkey rsa:4096 -keyout /etc/ssl/priv
|
|||
# use Docker logs to see what's happening.
|
||||
snmpd -Lo -p /var/run/snmpd.pid -I -ifXTable -I -ifTable -I -system_mib -I -sysORTable -I -snmpNotifyFilterTable -I -snmpNotifyTable -I -snmpNotifyFilterProfileTable
|
||||
|
||||
sleep 3
|
||||
|
||||
# Alt: let backend be in foreground, but test scripts may
|
||||
# want to restart backend
|
||||
/bin/sleep 100000000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue