Skip to content

Commit

Permalink
build(bootstrap): set UBO_SERVICES_PATH to `/home/{{USERNAME}}/ubo_…
Browse files Browse the repository at this point in the history
…services/` in the service file so that user can easily add their custom services
  • Loading branch information
sassanh committed May 8, 2024
1 parent 0840e87 commit e6c42f1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
load before wifi service by changing its priority #88
- fix(core): use latest version of headless-kivy-pi to avoid the static noise shown
before the first frame is ready to be rendered #86
- build(bootstrap): set `UBO_SERVICES_PATH` to `/home/{{USERNAME}}/ubo_services/`
in the service file so that user can easily add their custom services

## Version 0.14.0

Expand Down
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ ubo-gui = [
"dev",
] },
]
headless-kivy-pi = [
{ version = "^0.7.4", markers = "extra=='default'", extras = [
'default',
] },
{ version = "^0.7.4", markers = "extra=='dev'", extras = [
'dev',
] },
]
python-redux = "^0.15.2"
pyzbar = "^0.1.9"
sdbus-networkmanager = { version = "^2.0.0", markers = "platform_machine=='aarch64'" }
Expand Down
1 change: 1 addition & 0 deletions ubo_app/system/services/app.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Wants=dbus.service pipewire-pulse.service

[Service]
Type=simple
Environment="UBO_SERVICES_PATH=/home/{{USERNAME}}/ubo_services/"
ExecStart={{INSTALLATION_PATH}}/env/bin/ubo
WorkingDirectory={{INSTALLATION_PATH}}
StandardOutput=inherit
Expand Down

0 comments on commit e6c42f1

Please sign in to comment.