欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

centos 会杀死一个进程并重新启动它

最编程 2024-05-02 18:42:36
...

查找启动脚本:
使用systemctl查找服务文件:
systemctl list-unit-files | grep your_process_name

如果找到了服务文件,使用systemctl禁用服务:
systemctl disable your_service_name.service