weston: readonly: change default log path to /tmp/

Weston is not launched in read-only filesystem because /home/root
is not a writable path.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
Francisco Gil 2023-06-08 09:24:20 +02:00
parent ab0209f6f5
commit 4bc8a8df96
1 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,8 @@ EnvironmentFile=-/etc/default/weston
Environment="XDG_RUNTIME_DIR=/home/root"
Environment="WESTON_USER=root"
Environment="WL_EGL_GBM_FENCE=0"
#ExecStart=/usr/bin/weston-launch -- --modules=systemd-notify.so --log=/home/weston/weston.log $OPTARGS
ExecStart=/usr/bin/weston-start --modules=systemd-notify.so --log=/home/root/weston.log $OPTARGS
#ExecStart=/usr/bin/weston-launch -- --modules=systemd-notify.so --log=/tmp/weston.log $OPTARGS
ExecStart=/usr/bin/weston-start --modules=systemd-notify.so --log=/tmp/weston.log $OPTARGS
ExecStop=/usr/bin/killall weston-launch
# Optional watchdog setup