LinuxSir.cn,穿越时空的Linuxsir!

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

请教两个启动脚本的问题

[复制链接]
发表于 2004-5-11 22:21:07 | 显示全部楼层 |阅读模式
1,如何重新启动inet服务器?我没有找到它的启动脚本亚?
2,如果我安装了一个standalone的服务器,它的启动脚本应该放在什么地方?
有没有类似于/etc/rc.d/init.d这样的地方?

谢谢!
发表于 2004-5-12 07:43:46 | 显示全部楼层
在/usr/local/下的目录里找找
发表于 2004-5-12 08:33:40 | 显示全部楼层
/stand/sysinstall

/etc/inetd.conf
 楼主| 发表于 2004-5-12 13:07:54 | 显示全部楼层
举个例子,如果我打算开机时启动apache服务器。
然后我的启动脚本在/usr/local/etc下面。
我要怎么做才能让系统知道开机时需要启动apache服务器呢?
谢谢!!
发表于 2004-5-12 18:06:44 | 显示全部楼层

use the /stand/sysinstall。

if you want up your inted ,echo inetd_enable="YES" >> /etc/rc.conf。
you put your *.sh in the dir /usr/local/etc/rc.d,then ,the system will command the *.sh
发表于 2004-5-13 09:33:27 | 显示全部楼层
重启:killall -HUP inetd
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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