# Launching custom app on Amiga Brain on startup

**URL:** <https://discourse.farm-ng.com/t/launching-custom-app-on-amiga-brain-on-startup/333>\
**Category:** support\
**Created:** [April 16, 2024, 7:24pm UTC](https://discourse.farm-ng.com/t/launching-custom-app-on-amiga-brain-on-startup/333 "2024-04-16T19:24:03Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![genkikondo](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@genkikondo](https://discourse.farm-ng.com/u/genkikondo)\
**Post date:** [April 16, 2024, 7:24pm UTC](https://discourse.farm-ng.com/t/launching-custom-app-on-amiga-brain-on-startup/333/1 "2024-04-16T19:24:03Z")

</div>

I am looking into launching my own app on the Amiga Brain upon boot via systemd. Is there a way to prevent the built-in launcher app from running?

My current understanding is that upon reboot, everything except /mnt/managed\_home is reimaged to a clean state, and various farmng services run (such as farmng-services-starter.service, which installs/starts built-in services and apps). Thus, modifying this behavior would involve modifying the image file, which I’d like to avoid. I’m wondering if there might be another way to do this.

---

<div class="post-metadata">

**Author:** ![MScatolin](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.farm-ng.com/mscatolin/32/312_2.png) [@MScatolin](https://discourse.farm-ng.com/u/MScatolin)\
**Post date:** [April 17, 2024, 5:35pm UTC](https://discourse.farm-ng.com/t/launching-custom-app-on-amiga-brain-on-startup/333/2 "2024-04-17T17:35:21Z")

</div>

hey @genkikondo, thank you for your message!

Before digging deeper, can you share a bit more context on what you are trying to achieve? Are you trying to launch your app automatically upon reboot?

---

<div class="post-metadata">

**Author:** ![genkikondo](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@genkikondo](https://discourse.farm-ng.com/u/genkikondo)\
**Post date:** [April 17, 2024, 10:41pm UTC](https://discourse.farm-ng.com/t/launching-custom-app-on-amiga-brain-on-startup/333/3 "2024-04-17T22:41:59Z")

</div>

> Are you trying to launch your app automatically upon reboot?

Yes, exactly. I’ve tried “autostart”: true in manifest.json but that didn’t seem to have an effect.

---

<div class="post-metadata">

**Author:** ![MScatolin](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.farm-ng.com/mscatolin/32/312_2.png) [@MScatolin](https://discourse.farm-ng.com/u/MScatolin)\
**Post date:** [April 18, 2024, 5:17pm UTC](https://discourse.farm-ng.com/t/launching-custom-app-on-amiga-brain-on-startup/333/4 "2024-04-18T17:17:10Z")

</div>

I did some research and `"autostart": true` will start your app service automatically, but not launch it.

Would it be possible to share a general idea of what your application do? You can share it here or, if you are not comfortable sharing with the community, please use [support@farm-ng.com](mailto:support@farm-ng.com) and we will follow up from there.

---

<div class="post-metadata">

**Author:** ![genkikondo](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@genkikondo](https://discourse.farm-ng.com/u/genkikondo)\
**Post date:** [April 22, 2024, 4:38pm UTC](https://discourse.farm-ng.com/t/launching-custom-app-on-amiga-brain-on-startup/333/5 "2024-04-22T16:38:48Z")

</div>

The app is essentially a control center / dashboard for our specific automation tasks that our Amiga will be performing. Having it launch upon startup will make it easier for operators, as they don’t need to know about the launcher nor need any of the built-in apps.

It would be great if autostart: true for UI could be supported, but it’s not critical.

---

<div class="post-metadata">

**Author:** ![MScatolin](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.farm-ng.com/mscatolin/32/312_2.png) [@MScatolin](https://discourse.farm-ng.com/u/MScatolin)\
**Post date:** [April 23, 2024, 12:30am UTC](https://discourse.farm-ng.com/t/launching-custom-app-on-amiga-brain-on-startup/333/6 "2024-04-23T00:30:57Z")

</div>

I see. So you current application starts properly when clicking on the proper button in the launcher, correct? The idea here is to avoid the extra click and possible confusion for the operator, right?

If that’s the case, unfortunately, we don’t have this option available yet. We can start a feature request so our software team can add it to our roadmap. For this, let’s start with some initial questions and later we can set up a call to progress with the design, does that work?

Here are my initial questions:

- Does your app rely on the services / devices our launcher provides? Think about gps, oak, event recorder, canbus, etc.
- Do you want the ability to exit your app and get back to the launcher sometimes?
- How critical is this feature for your application?

If you want to proceed, here is the link to book a call with us: _[Book your support call here](https://calendar.app.google/sg5EmRWUYAaLfUda7)_

---

<div class="post-metadata">

**Author:** ![genkikondo](https://avatars.discourse-cdn.com/v4/letter/g/258eb7/32.png) [@genkikondo](https://discourse.farm-ng.com/u/genkikondo)\
**Post date:** [April 23, 2024, 4:24pm UTC](https://discourse.farm-ng.com/t/launching-custom-app-on-amiga-brain-on-startup/333/7 "2024-04-23T16:24:16Z")

</div>

Yes that sounds great, thank you.

- Does your app rely on the services / devices our launcher provides? Think about gps, oak, event recorder, canbus, etc.
  - yes

- Do you want the ability to exit your app and get back to the launcher sometimes?
  - yes

- How critical is this feature for your application?
  - not critical
