fix(ubus): set the socket path properly

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-09-07 17:13:29 +02:00
parent 71813a1f8f
commit ffc6492365

View file

@ -9,5 +9,8 @@ let
in longrun { in longrun {
# Long term: make it unique so that user can spawn multiple buses if they want. # Long term: make it unique so that user can spawn multiple buses if they want.
name = "ubus"; name = "ubus";
run = "${package}/bin/ubusd"; run = ''
mkdir -p /run/ubus
${package}/bin/ubusd -s /run/ubus/ubus.sock
'';
} }