From 61f019900fa24121bed4e2a53afdb54c28e97d72 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 14 Sep 2019 02:10:59 -0400 Subject: [PATCH] net-misc/chrome-remote-desktop: drop CHROME_REMOTE_DESKTOP_LOG_DIR setting 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 --- .../files/chrome-remote-desktop.conf.d | 7 ------- .../chrome-remote-desktop/files/chrome-remote-desktop.rc | 6 ------ 2 files changed, 13 deletions(-) diff --git a/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.conf.d b/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.conf.d index db24cdd4ab11..aa3d8919c87f 100644 --- a/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.conf.d +++ b/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.conf.d @@ -4,11 +4,4 @@ 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' diff --git a/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.rc b/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.rc index 0604c61c78a4..272923ce6afb 100644 --- a/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.rc +++ b/net-misc/chrome-remote-desktop/files/chrome-remote-desktop.rc @@ -32,21 +32,15 @@ for_users() { 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} \ "$@" -- 2.26.2