#!/sbin/runscript # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ name="Xvfb" description="Xvfb − virtual framebuffer X server for X Version 11" start_stop_daemon_args="--user ${XVFB_USER} --group ${XVFB_GROUP} --stdout ${XVFB_LOG} --stderr ${XVFB_LOG}" command="/usr/bin/Xvfb" command_args="${XVFB_OPTS}" command_background="yes" pidfile="/run/${RC_SVCNAME}.pid" required_files="${XVFB_AUTHFILE}" start_pre() { checkpath \ --file-truncate \ --mode 0700 \ --owner "${XVFB_USER}:${XVFB_GROUP}" \ "${XVFB_LOG}" }