mirror of
https://github.com/vimagick/dockerfiles.git
synced 2026-01-03 03:27:27 +01:00
update webkit
This commit is contained in:
BIN
webkit/bin/monit
Executable file
BIN
webkit/bin/monit
Executable file
Binary file not shown.
BIN
webkit/bin/phantomjs
Executable file
BIN
webkit/bin/phantomjs
Executable file
Binary file not shown.
13
webkit/bin/restart.sh
Executable file
13
webkit/bin/restart.sh
Executable 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
9
webkit/bin/webkit.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# run webkit instance
|
||||
#
|
||||
|
||||
set -e
|
||||
cd /usr/local/lib/webkit
|
||||
exec phantomjs server.js "$@"
|
||||
|
||||
Reference in New Issue
Block a user