obs服务起停急脚本
来源:互联网 发布:centos cacti 编辑:程序博客网 时间:2024/06/10 12:40
#!/bin/bash
case $1 in
start)
rcmysql start
rcobsrepserver start
rcobssrcserver start
rcobsscheduler start
rcobsworker start
rcobsdispatcher start
rcobspublisher start
rcobswarden start
rcobssigner start
rclighttpd start
rcmemcached start
rchermes start
rcpostfix start
;;
stop)
rclighttpd stop
rcobspublisher stop
rcobsdispatcher stop
rcobsworker stop
rcobsscheduler stop
rcobssrcserver stop
rcobsrepserver stop
rcobssigner stop
rcobswarden stop
rcmysql stop
rcmemcached stop
rchermes stop
rcpostfix stop
;;
restart)
rcmysql restart
rcobsrepserver restart
rcobssrcserver restart
rcobsscheduler restart
rcobsworker restart
rcobsdispatcher restart
rcobspublisher restart
rcobswarden restart
rcobssigner restart
rclighttpd restart
rcmemcached restart
rchermes restart
rcpostfix restart
;;
*)
echo $"Usage:$0{start|stop|restart}"
exit 1
;;
esac
case $1 in
start)
rcmysql start
rcobsrepserver start
rcobssrcserver start
rcobsscheduler start
rcobsworker start
rcobsdispatcher start
rcobspublisher start
rcobswarden start
rcobssigner start
rclighttpd start
rcmemcached start
rchermes start
rcpostfix start
;;
stop)
rclighttpd stop
rcobspublisher stop
rcobsdispatcher stop
rcobsworker stop
rcobsscheduler stop
rcobssrcserver stop
rcobsrepserver stop
rcobssigner stop
rcobswarden stop
rcmysql stop
rcmemcached stop
rchermes stop
rcpostfix stop
;;
restart)
rcmysql restart
rcobsrepserver restart
rcobssrcserver restart
rcobsscheduler restart
rcobsworker restart
rcobsdispatcher restart
rcobspublisher restart
rcobswarden restart
rcobssigner restart
rclighttpd restart
rcmemcached restart
rchermes restart
rcpostfix restart
;;
*)
echo $"Usage:$0{start|stop|restart}"
exit 1
;;
esac
- obs服务起停急脚本
- WBS&OBS
- OBS readme
- 什么是OBS
- OBS学习
- 直播 obs
- MySQL服务切换脚本
- svn服务脚本
- freebsd 自建服务脚本
- Linux服务启动脚本
- windows 服务安装脚本
- 监控tomcat服务脚本
- nginx 服务启动脚本
- 边际服务控制脚本
- 脚本安装samba服务
- mongodb服务脚本编写
- nginx服务启动脚本
- squid 服务启动脚本
- /etc/lighttpd/vhost.d/hermes.conf
- Socket 错误一览表
- jdbc
- Android,谁动了我的内存(2)
- 调色板,兼容ie firefox
- obs服务起停急脚本
- hermes用户添加脚本
- 验证密码负责程度
- 验证密码负责程度
- Can't create table errono 121
- 现在可用: Windows Azure新的服务和增强功能
- 使用Font Creator 6.5批量修改字体大小、位置
- 去除String首尾字符
- 关于ExtJs中,下拉列表问题解决