thttpd怎样重启和关闭阿

thttpd怎样重启和关闭阿

找不到相应的命令
没次都是用kill掉进程

文档中说有个
thttpd handles a couple of signals, which you can send via the standard Unix kill(1) command:

INT,TERM
These signals tell thttpd to shut down immediately. Any requests in progress get aborted.
USR1
This signal tells thttpd to shut down as soon as it's done servicing all current requests. In addition, the network socket it uses to accept new connections gets closed immediately, which means a fresh thttpd can be started up immediately.
USR2
This signal tells thttpd to generate the statistics syslog messages immediately, instead of waiting for the regular hourly update.
HUP
This signal tells thttpd to close and re-open its (non-syslog) log file, for instance if you rotated the logs and want it to start using the new one. This is a little tricky to set up correctly, for instance if you are using chroot() then the log file must be within the chroot tree, but it's definitely doable.

是怎么用啊?
INT,TERM
立即停止,终止所有连接
USR1
停止,并处理当前已有的链接;同时可启动一份新的
USR2
立刻生成statistics syslog messages 而不是通常的每小时生成.
HUP
重新启动.
我不太懂这些参数怎么用啊?什么命令来调用呢?
我没有找到阿

多谢阿