我的主计算机正在运行Ubuntu 18,04,我在前端的 ReactJS ,后端的 NodeJS 和 MySQL 上开发了一个应用程序beaglebone上的数据库。
有关我的BeagleBone的更多信息:
root@beaglebone:~# uname -a
Linux beaglebone 3.8.13-bone71.1 #162 SMP Fri Oct 16 07:27:34 CST 2015 armv7l GNU/Linux
我想始终在 BeagleBone
上启动时运行我的应用程序如何使脚本启动后立即运行?
答案 0 :(得分:1)
简短答案:就像在运行Linux发行版的任何其他设备(包括PC或服务器)上一样。
一些快速指针:
systemctl daemon-reload
,使其了解新文件systemctl enable myfancy.service
mysql-server
和mariadb-server
)都已带有systemd文件。