2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-03 03:27:27 +01:00

update webkit

This commit is contained in:
kev
2014-12-25 18:02:48 +08:00
parent 67c21bfe42
commit ff186ae821
10 changed files with 314 additions and 11 deletions

BIN
webkit/bin/monit Executable file

Binary file not shown.

BIN
webkit/bin/phantomjs Executable file

Binary file not shown.

13
webkit/bin/restart.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
#
# restart webkit instances one by one forever
#
while :
do
for ((i=8080; i<8090; i++))
do
sleep 30
/usr/bin/supervisorctl restart webkit:webkit-$i
done
done

9
webkit/bin/webkit.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
#
# run webkit instance
#
set -e
cd /usr/local/lib/webkit
exec phantomjs server.js "$@"