-
-
Save robinhoode/996084 to your computer and use it in GitHub Desktop.
/etc/init.d/xvfb
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
#!/bin/bash | |
# TODO: http://wiki.debian.org/LSBInitScripts | |
if [ -z "$1" ]; then | |
echo "`basename $0` {start|stop}" | |
exit | |
fi | |
case "$1" in | |
start) | |
/usr/bin/Xvfb :99 -screen 0 1024x768x16 & | |
;; | |
stop) | |
killall Xvfb | |
;; | |
esac | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment