diff --git "a/54 \345\274\240\351\276\231\350\205\276/20240624 \346\234\215\345\212\241\347\256\241\347\220\206.md" "b/54 \345\274\240\351\276\231\350\205\276/20240624 \346\234\215\345\212\241\347\256\241\347\220\206.md" new file mode 100644 index 0000000000000000000000000000000000000000..3af0bd7451c36be0c158d5dd991623bcc6d2d11b --- /dev/null +++ "b/54 \345\274\240\351\276\231\350\205\276/20240624 \346\234\215\345\212\241\347\256\241\347\220\206.md" @@ -0,0 +1,28 @@ +## 服务管理 + + + +### 主要操作指令: + +~~~ shell +systemctl start 启动 服务名称 + +systemctl stop 停止 服务名称 + +systemctl status 状态 服务名称 + +systemctl restart 重启 服务名称 + +systemctl reload 重载 服务名称 + +systemctl enable 自启 服务名称 + +systemctl disable 禁启 服务名称 + +systemctl list-jobs 查看正在运行的服务 + +is-active/....... 查看是否。。。 +~~~ + + +