ttservctl命令

命令 ttservctl 是服务器的启动脚本。他可以调用操作系统引导过程的RC脚本。命令格式如下:
 
ttservctl  start 

  启动服务器 
 
ttservctl  stop

  停止服务器
  ttservctl  restart

  重启服务器
 
ttservctl  hup

  为日志轮换发送HUP信号到服务器


注:
  Ttservctl脚本档中,默认的的basedir="/var/ttserver",需要把他修改成你安装tokyotyrant的目录,这样才能正确引导,使用,./sbin/ttservctl * 命令。

猜你喜欢

转载自wanglihu.iteye.com/blog/1326405