Stop Xvfb when stopping the container (#197)
This commit is contained in:
parent
27eb7f0ed8
commit
f5ea790878
1 changed files with 3 additions and 0 deletions
3
run.sh
3
run.sh
|
@ -7,3 +7,6 @@ export DISPLAY=:99.0
|
|||
|
||||
cd /data
|
||||
node /usr/src/app/ -p 80 "$@"
|
||||
|
||||
start-stop-daemon --stop --pidfile ~/xvfb.pid # stop xvfb when exiting
|
||||
rm ~/xvfb.pid
|
||||
|
|
Loading…
Reference in a new issue