linux - 服务重新加载和服务重启有什么区别?

标签 linux

<分区>

services [name] reload 和 service [name] restart 有什么区别? 其实他们一样.. 那么,建议使用什么?

最佳答案

某些支持reload 命令的服务可以重新加载它们的配置,而无需完全关闭并重新启动。 Postfix 就是这样做的,Apache 也是如此。如果您需要对实时服务器进行配置更改而不会导致哪怕几秒钟的停机时间,这将非常有用。

关于linux - 服务重新加载和服务重启有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7374181/

相关文章:

linux - 如何将前 10 个最近的文件从一个目录复制到另一个目录?

linux - $(git ls-files -s | wc -l ) 和 $(git ls-files -s >out && wc -l <​​out) 之间的区别

java - 如何使用java、Linux检查是否安装了特定软件

检查 TCP 套接字上的传入接口(interface)

python - 子进程 check_output OSError : [Errno 2] No such file or directory

python - CUDA 初始化 : Unexpected error from cudaGetDeviceCount()

python - MPRIS + Python (dbus) : reading and writing properties

linux - 如何构建(获取/下载)time.h 库?

linux - .bash_aliases 中的 ls 别名干扰 egrep 输出

linux - 循环遍历用户文件夹并删除文件夹