How can I automatically restart chromium if it crashes?
问题 I'm using chromium-browser in kiosk mode as a display, but from time to time it might crash. I'd like to be able to kill / re-start the browser if that happens, but I'm unable to check chrome's status. Does anyone know how to check if chromium has crashed, or configure chrome to shutdown if it crashes? Chromium 28.0.1500.52 Ubuntu 12.04 回答1: Put the following code in a file, name it whatever you like (foo): #!/bin/sh while : # run forever do chromium-browser done Then execute: chmod +x foo to