Note that Timer creates a non-daemon thread to fire the tasks in the background, however, so in Listing 10 I have to kill the VM via a call to System.exit().
请注意 Timer 却创建了一个非守护线程在后台启动任务,因此在清单 10 中我需要调用 System.exit() 来取消任务。
You can kill the connection either by using the kill command with Control-C (if you've started up in non-daemon mode), but the best method is to use the gvpectrl command shown in Listing 11.
可以使用 kill 命令和 Control-C 终止连接(如果以非守护进程模式启动的话),但最好的方法是使用 gvpectrl 命令,如 清单 11 所示。
For the non-forking daemons, however (and this includes most in-house daemon software), cfengine needs special help.
然而,对于不创建子进程的守护程序(并且这包括大多数内部守护程序软件),cfengine需要特殊帮助。
应用推荐