2017年4月10日

摘要: #!/bin/sh#check memcache process and restart if downmm_bin="/usr/local/bin/memcached"mm_log="/home/xxx/memcached_check.log"mm_ports=("11211" "11212")m 阅读全文
posted @ 2017-04-10 23:58 freeyouyou 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 有些时候我们需要在服务器里设置一个脚本,让他一开机就自己启动。方法如下: 编写自己的脚本后保存退出。 在编写脚本的时候,请先加入以***释 说明: 2345是指脚本的运行级别,即在2345这4种模式下都可以运行,234都是文本界面,5就是图形界面X 70是指脚本将来的启动顺序号,如果别的程序的启动顺 阅读全文
posted @ 2017-04-10 23:56 freeyouyou 阅读(646) 评论(0) 推荐(0) 编辑

导航