Launch Weston on Nerves
config_file = Application.app_dir(:your_app, "priv/weston.ini")
{NervesWeston,
tty: 1,
xdg_runtime_dir: "/tmp/nerves_weston",
cli_args: [
# see weston --help
"--config=/data/weston.ini"
],
daemon_opts: [
# options passed to MuonTrap.Daemon
],
name: :weston}
Include nerves_weston
in your dependencies referencing github
:
def deps do
[
{:nerves_weston, github: "coop/nerves_weston"}
]
end