linux中添加开机自启服务的方法

往文件/etc/rc.d/rc.local中追加内容即可,如:

/mongodb/start_mongoDB.sh
posted @ 2016-01-04 16:39  魔豆  阅读(243)  评论(0编辑  收藏  举报