1 Star 0 Fork 0

Witt/shells

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
wechat 663 Bytes
一键复制 编辑 原始数据 按行查看 历史
#!/bin/bash
# start or stop wecaht container
case "$1" in
start)
xhost +
sudo docker start wechat
;;
restart)
xhost +
sudo docker restart wechat
;;
stop)
sudo docker stop wechat
;;
status)
sudo docker ps
;;
help)
echo "wechat Version 1.0"
echo "This command is used for starting or stoping wechat, or checking the wechat's status."
echo "Usage: wechat {start | stop | restart | status}"
;;
*)
echo "Usage: wechat {start | stop | restart | status}"
;;
esac
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Shell
1
https://gitee.com/mediocrep/shells.git
git@gitee.com:mediocrep/shells.git
mediocrep
shells
shells
main

搜索帮助