设置自动启动:
linux-wyq:~ # vi /etc/init.d/boot.local
加入:
#resin
/usr/local/resin-pro-3.0.23/bin/resin-a.sh start
设置关机或重启时关闭resin:
linux-wyq:~ # vi /etc/init.d/halt.local
加入:
#resin
/usr/local/resin-pro-3.0.23/bin/resin-a.sh stop
reboot重启,测试是否成功。
此文章由 http://www.ositren.com 收集整理 ,地址为: http://www.ositren.com/htmls/53586.html