Skip to content
Snippets Groups Projects
Commit b420358c authored by inso's avatar inso
Browse files

Update xfvb.sh

parent a0964ef7
No related branches found
No related tags found
No related merge requests found
Pipeline #
xvfb :99 -screen 0 1280x1024x24 -nolisten tcp & XVFB=/usr/bin/Xvfb
\ No newline at end of file XVFBARGS="$DISPLAY -ac -screen 0 1280x1024x24 +extension RANDR"
PIDFILE=/var/xvfb_${DISPLAY:1}.pid
case "$1" in
start)
echo -n "Starting virtual X frame buffer: Xvfb"
/sbin/start-stop-daemon --start --quiet --pidfile $PIDFILE --make-pidfile --background --exec $XVFB -- $XVFBARGS
echo "."
;;
stop)
echo -n "Stopping virtual X frame buffer: Xvfb"
/sbin/start-stop-daemon --stop --quiet --pidfile $PIDFILE
echo "."
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: /etc/init.d/xvfb {start|stop|restart}"
exit 1
esac
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment