ITPub博客

首页 > 应用开发 > IT综合 > 使用replicator start/restart offline命令 且带有jvm参数

使用replicator start/restart offline命令 且带有jvm参数

原创 IT综合 作者:雪无音 时间:2015-02-03 16:45:29 0 删除 编辑
replicator help:

Usage: ./replicator [ console {JavaAppArgs} | start {JavaAppArgs} | stop | restart {JavaAppArgs} | condrestart {JavaAppArgs} | status | install | remove | dump ]


Commands:
  console      Launch in the current console.
  start        Start in the background as a daemon process.
  stop         Stop if running as a daemon or in another console.
  restart      Stop if running and then start.
  condrestart  Restart only if already running.
  status       Query the current status.
  install      Install to start automatically when system boots.
  remove       Uninstall.
  dump         Request a Java thread dump if running.


JavaAppArgs: Zero or more arguments which will be passed to the Java application.
  offline      Start the replicator with all services OFFLINE

但是使用replicator start/restart jvmArgs offline方式启动失败,几次尝试后发现必须使用replicator start/restart offline jvmArgs格式执行。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30112675/viewspace-1425276/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2015-01-21

  • 博文量
    4
  • 访问量
    14567