rest api now waits 120 seconds for clamd so no need to sleep before start

This commit is contained in:
Niilo Ursin 2017-09-05 09:30:03 +03:00
parent 1d38f54731
commit f1e377eed1

View file

@ -1,7 +1,6 @@
#!/bin/sh
freshclam -d &
clamd &
sleep 20
/usr/bin/clamav-rest &
pids=`jobs -p`