Upstream no longer respects this env var and only writes logs to
/tmp without any way to change it. Drop the conf.d setting to
avoid confusing people.
Also clean up stale randr comments. Latest version dynamically
handles things now.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
CHROME_REMOTING_USERS=''
# Options to pass to chrome-remote-desktop. Only the -s option is interesting.
-# Note: In order to support resizing, you need to:
-# (1) Apply this patch to xorg-server (via epatch_user):
-# http://patchwork.freedesktop.org/patch/51428/
-# (2) Create a symlink /usr/bin/Xvfb-randr -> Xvfb
#OPTIONS='-s 1600x1200 -s 3840x1600'
-
-# Directory to use for storing log files.
-#CHROME_REMOTE_DESKTOP_LOG_DIR='/var/log'
local user ret msg log
msg=$1; shift
- : ${CHROME_REMOTE_DESKTOP_LOG_DIR:=/var/log}
-
for user in ${CHROME_REMOTING_USERS} ; do
ebegin "${msg} ${SVCNAME} for ${user}"
- log="${CHROME_REMOTE_DESKTOP_LOG_DIR}/${SVCNAME}.${user}.log"
- checkpath -f -m 0600 -o "${user}" "${log}"
-
# We need to background the app as it won't fork until the network
# (including DNS) is available.
start-stop-daemon \
-b \
-u "${user}" \
-x "${CRD}" \
- -e "CHROME_REMOTE_DESKTOP_LOG_FILE=${log}" \
-- \
${OPTIONS} \
"$@"