diff --git "a/\345\206\257\345\273\272\347\250\213/20240624 \346\234\215\345\212\241\347\256\241\347\220\206.md" "b/\345\206\257\345\273\272\347\250\213/20240624 \346\234\215\345\212\241\347\256\241\347\220\206.md" new file mode 100644 index 0000000000000000000000000000000000000000..ccd9f57b8176c6817faae55d8d73a9fc36adec3c --- /dev/null +++ "b/\345\206\257\345\273\272\347\250\213/20240624 \346\234\215\345\212\241\347\256\241\347\220\206.md" @@ -0,0 +1,25 @@ +## 服务管理 + + + +### 主要操作指令: + +~~~ shell +systemctl start 启动 服务名称 + +systemctl stop 停止 服务名称 + +systemctl status 状态 服务名称 + +systemctl restart 重启 服务名称 + +systemctl reload 重载 服务名称 + +systemctl enable 自启 服务名称 + +systemctl disable 禁启 服务名称 + +systemctl list-jobs 查看正在运行的服务 + +is-active/....... 查看是否。。。 +~~~ \ No newline at end of file