[sway] add logging to start script
This commit is contained in:
parent
628705456a
commit
db043bd581
1 changed files with 6 additions and 0 deletions
|
@ -73,6 +73,12 @@ cat <<EOF > "$PKG$PREFIX/bin/start_sway.sh"
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
LOGFILE=/tmp/wsession-errors
|
||||||
|
true > \$LOGFILE
|
||||||
|
exec \&> \$LOGFILE
|
||||||
|
set -x
|
||||||
|
echo "sway Starting: \$( date )"
|
||||||
|
|
||||||
# avoid wlr error
|
# avoid wlr error
|
||||||
unset DISPLAY
|
unset DISPLAY
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue