misp-docker/server/files/entrypoint_workers.sh

18 lines
308 B
Bash
Raw Normal View History

2019-11-25 22:58:18 +01:00
#!/bin/bash
# Wait until entrypoint apache is ready
while (true)
do
sleep 2
[ -f /entrypoint_apache.install ] && continue
break
done
while true
do
2020-03-05 17:22:23 +01:00
echo "Start Workers..."
2019-11-25 22:58:18 +01:00
sudo -u www-data /var/www/MISP/app/Console/worker/start.sh
2020-03-05 17:22:23 +01:00
echo "Start Workers...finished"
sleep 3600
2019-11-25 22:58:18 +01:00
done