Docker: Add a delay until snmpd unix socket created

This commit is contained in:
Olof hagsand 2022-11-28 10:33:11 +01:00
parent 2cdc78c576
commit 7a388b960a
3 changed files with 4 additions and 3 deletions

View file

@ -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