infra: wire WEFT_RUNTIME_BIN into weft-appd service unit

Sets WEFT_RUNTIME_BIN to the weft-runtime binary path so that
weft-appd's runtime supervisor can spawn app processes without
additional configuration.
This commit is contained in:
Marco Allegretti 2026-03-11 09:28:37 +01:00
parent f38f2eef76
commit 0cb74adc3e

View file

@ -6,11 +6,10 @@ After=weft-compositor.service servo-shell.service
[Service] [Service]
Type=notify Type=notify
Environment=WEFT_RUNTIME_BIN=/packages/system/weft-runtime/active/bin/weft-runtime
ExecStart=/packages/system/weft-appd/active/bin/weft-appd ExecStart=/packages/system/weft-appd/active/bin/weft-appd
Restart=on-failure Restart=on-failure
RestartSec=1s RestartSec=1s
# sd_notify(READY=1) is sent after IpcServer is bound and CompositorClient
# has connected, so downstream services can depend on the IPC socket being ready.
[Install] [Install]
WantedBy=graphical.target WantedBy=graphical.target