-
-
Save kayslay/45ca3230b3293de033da6a2dbec6fc6b to your computer and use it in GitHub Desktop.
Xvfb restart script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "restart Xvfb" | |
kill -9 `ps aux | grep Xvfb | grep -v grep | awk '{print $2}'` | |
sleep 3 | |
nohup Xvfb :10 -ac > /tmp/Xvfb.log 2>&1 & | |
echo "Xvfb started" | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment