摘要: 1.新建/etc/init.d/myService.sh shell文件 2.给sh文件和jar可执行权限 2. 添加chkconfig 添加权限 阅读全文
posted @ 2017-11-02 15:48 yimison 阅读(2854) 评论(0) 推荐(0) 编辑
摘要: 2.新建service文件:/etc/systemd/system/myapp.service 3.启用systemctl enable myapp.service 4.systemctl start myapp.service 阅读全文
posted @ 2017-11-02 13:29 yimison 阅读(241) 评论(0) 推荐(0) 编辑