Sha256: 1304cc6e55a14a68c010b6833a6305dc6da2902e46b34abd78c91e891aaf7771

Contents?: true

Size: 586 Bytes

Versions: 6

Compression:

Stored size: 586 Bytes

Contents

#!/bin/bash
XVFB=/usr/bin/Xvfb
XVFBARGS="$DISPLAY -ac -screen 0 1024x768x16"
PIDFILE=/tmp/xvfb_${DISPLAY}.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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rwiki-0.2.5 script/xvfb
rwiki-0.2.4 script/xvfb
rwiki-0.2.3 script/xvfb
rwiki-0.2.2 script/xvfb
rwiki-0.2.1 script/xvfb
rwiki-0.1.3 script/xvfb