LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 468|回复: 1

请问openfire 源码安装的如何做为服务自动启动?

[复制链接]
发表于 2011-12-9 18:38:00 | 显示全部楼层 |阅读模式
rpm安装的很简单,直接chkconfig openfire on就行了

源码安装(其实不用编译安装,解压缩就行了),则每次都需要登陆后opt/openfire/bin/openfire start,

能不能作为服务启动呢?
 楼主| 发表于 2011-12-10 23:52:57 | 显示全部楼层
找到答案了

If you would like to install Openfire as a service, two scripts are provided in the bin/extra directory:
redhat-postinstall.sh -- automatically installs Openfire as a service on Red Hat. It does so by creating a "jive" user and then copying the openfired script to your init.d directory. This script must be run as root. Please see the comments in the script for additional information.
openfired -- script to run Openfire as a service. You must manually configure this script. See the comments in the script for additional details.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表