net-misc/chrome-remote-desktop: drop CHROME_REMOTE_DESKTOP_LOG_DIR setting
authorMike Frysinger <vapier@gentoo.org>
Sat, 14 Sep 2019 06:10:59 +0000 (02:10 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 14 Sep 2019 07:10:54 +0000 (03:10 -0400)
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>
net-misc/chrome-remote-desktop/files/chrome-remote-desktop.conf.d
net-misc/chrome-remote-desktop/files/chrome-remote-desktop.rc

index db24cdd4ab11b65ac1c4e117db609c94f99f3cb7..aa3d8919c87f5ac2c289e898e02bfd7f8827793a 100644 (file)
@@ -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'
index 0604c61c78a4e68dfc64edbbd58e8465ec15b5e3..272923ce6afb866f944418d14f799189c66bc6c6 100644 (file)
@@ -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} \
                        "$@"