5 Star 38 Fork 10

khs1994-docker / lnmp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
lnmp-docker-custom-script.example 567 Bytes
一键复制 编辑 原始数据 按行查看 历史
khs1994 提交于 2022-06-19 19:57 . [MySQL] Update config
#!/usr/bin/env bash
# this is custom script use by lnmp-docker
__lnmp_custom_init(){
true
}
__lnmp_custom_backup() {
true
}
__lnmp_custom_restore() {
true
}
__lnmp_custom_cleanup() {
true
}
__lnmp_custom_pre_up() {
true
}
__lnmp_custom_post_up() {
true
}
__lnmp_custom_post_down() {
true
}
__lnmp_custom_post_pull() {
true
}
__lnmp_custom_restart() {
true
}
# 当执行不存在的命令时会调用该函数 `lnmp-dcker no-found-cmd`
__lnmp_custom_command() {
echo "command [ $@ ] not found"
# please handle your custom command
}
Docker
1
https://gitee.com/khs1994-docker/lnmp.git
git@gitee.com:khs1994-docker/lnmp.git
khs1994-docker
lnmp
lnmp
master

搜索帮助