> For the complete documentation index, see [llms.txt](https://alfredo-reyes-montero.gitbook.io/amikoo/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alfredo-reyes-montero.gitbook.io/amikoo/norman/startupservice/edison.md).

# Edison

* [Musings from Stephanie Automatic Scripting at Boot-Up](http://stephaniemoyerman.com/?p=41)
* [Tektyte Running a Script On Startup](http://www.tektyte.com/docs/docpages/edison-reference/runonstartup.html)

```
root@edison:~# cd /home/root/

root@edison:~# nano nodeexec.sh
```

```
node /root/Amikoo/Edision/Node/amikoo.edison
```

```
root@edison:~# chmod +x nodeexec.sh

root@edison:~# cd /lib/systemd/system

root@edison:~# nano nodeexec.service
```

```
[Unit]
Description=NodeExec
After=sys-subsystem-net-devices-%i.device

[Service]
ExecStart=/bin/bash /home/root/nodeexec.sh
Restart=always
RestartSec=10 

[Install]
Alias=NodeExec
WantedBy=multi-user.target
```

```
root@edison:~# systemctl daemon-reload

root@edison:~# systemctl --system enable nodeexec

root@edison:~# systemctl start nodeexec

root@edison:~# systemctl status nodeexec.service -l

root@edison:~# systemctl status nodeexec
```

Reboot your Intel Edison

```
root@edison:~# reboot
```

Once booted, verify again hello-world service status

```
root@edison:~# systemctl status nodeexec
```
