From 42e2094635943cfe5f13b1637fa832a8513dce47 Mon Sep 17 00:00:00 2001 From: Mikkeli Matlock Date: Sat, 24 Jan 2026 23:30:01 +0900 Subject: [PATCH] changed service config to service config sample --- .gitignore | 3 ++- ...martserow-ui.service => smartserow-ui sample.service} | 9 ++++----- 2 files changed, 6 insertions(+), 6 deletions(-) rename scripts/{smartserow-ui.service => smartserow-ui sample.service} (79%) diff --git a/.gitignore b/.gitignore index 86a451c..811b4c5 100644 --- a/.gitignore +++ b/.gitignore @@ -51,4 +51,5 @@ pi/ui/analysis_options.yaml pi_sysroot/ # personal deploy target info -scripts/deploy_target.json \ No newline at end of file +scripts/deploy_target.json +scripts/smartserow-ui.service \ No newline at end of file diff --git a/scripts/smartserow-ui.service b/scripts/smartserow-ui sample.service similarity index 79% rename from scripts/smartserow-ui.service rename to scripts/smartserow-ui sample.service index 8ecefa2..fe7283c 100644 --- a/scripts/smartserow-ui.service +++ b/scripts/smartserow-ui sample.service @@ -5,13 +5,12 @@ Wants=multi-user.target [Service] Type=simple -User=mikkeli -Group=mikkeli +User=pi +Group=pi WorkingDirectory=/opt/smartserow/bundle # GBM backend is compiled in. Just specify bundle path. -# Scale factor 2.5 for 5.5" 1080p screen (high DPI) -ExecStart=/opt/smartserow/bundle/smartserow_ui --bundle=/opt/smartserow/bundle --force-scale-factor=2.5 +ExecStart=/opt/smartserow/bundle/smartserow_ui --bundle=/opt/smartserow/bundle # Restart on crash Restart=always @@ -19,7 +18,7 @@ RestartSec=3 # Environment for DRM/KMS access Environment=XDG_RUNTIME_DIR=/run/user/1000 -Environment=HOME=/home/mikkeli +Environment=HOME=/home/pi Environment=LD_LIBRARY_PATH=/opt/smartserow/bundle/lib # Give time for GPU to initialize on boot