摘要: /etc/init.d/httpd cat > /etc/init.d/httpd << EOF #!/bin/bash ### chkconfig: 12345 80 90 function start_http(){ /usr/local/apache/bin/apachectl start } 阅读全文
posted @ 2022-06-01 20:11 Star-Hitian 阅读(233) 评论(0) 推荐(0)
摘要: 代码实现 # 做成开机启动 cat /etc/rc.d/init.d/sersync #!/bin/bash start() { /application/sersync/bin/sersync2 -d -o /application/sersync/conf/confxml.xml &>/dev/ 阅读全文
posted @ 2022-06-01 20:05 Star-Hitian 阅读(246) 评论(0) 推荐(0)