changed service config to service config sample
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -51,4 +51,5 @@ pi/ui/analysis_options.yaml
|
||||
pi_sysroot/
|
||||
|
||||
# personal deploy target info
|
||||
scripts/deploy_target.json
|
||||
scripts/deploy_target.json
|
||||
scripts/smartserow-ui.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
|
||||
Reference in New Issue
Block a user