文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>init script

init script

时间:2007-03-08  来源:蜡笔pearly

At the process porting something SuSE specific  from SuSE to RH, I found the init scripts format is very different between them. But this information is needed by yast. I will conclude some of them at the following.

  • Init Infomation

The Default-Start and Default-Stop runlevel at SuSE is include between### BEGIN INIT INFO and ### END INIT INFO. It is # chkconfig: with three parameters: The default runlevels or a '-' as well as the start and stop priority levels at RH.

  • Action

The action try-restart is to do a restart only if the service was active before at SuSE. try-restart is now part of LSB (as of 1.9). RH has a similar command named condrestart.

相关阅读 更多 +
排行榜 更多 +
汉房手机版

汉房手机版

生活实用 下载
瓜子二手车检瓜子评估检测系统

瓜子二手车检瓜子评估检测系统

生活实用 下载
电e宝

电e宝

生活实用 下载