文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
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.

相关阅读 更多 +
排行榜 更多 +
拔草大作战

拔草大作战

休闲益智 下载
依拉英语

依拉英语

学习教育 下载
自然灾难模拟器

自然灾难模拟器

角色扮演 下载