繁体   English   中英

如何备份当前的chkconfig配置

[英]How to backup current chkconfig configurations

如何备份当前的chkconfig配置

chkconfig --list

列出当前服务配置,以及何时(运行级别)设置服务启动。

我需要备份chkconfig配置,并在具有相同运行级别的另一台计算机上恢复相同的服务。

您可以将config输出到类似chkconfig -l > /filename然后在另一个系统上使用此脚本https://gist.github.com/natemccoy/9249545

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM