当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 0 Fork 11

jenarlion/lnmp
暂停

forked from khs1994-docker/lnmp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
lnmp-docker-custom-script.example 557 Bytes
一键复制 编辑 原始数据 按行查看 历史
khs1994 提交于 2019-10-09 17:19 . [WSL] Fixed sudo command error
#!/usr/bin/env bash
# this is custom script use by lnmp-docker
# 执行 up 命令前会调用此函数
__lnmp_custom_init(){
true
}
__lnmp_custom_backup() {
true
}
__lnmp_custom_restore() {
true
}
__lnmp_custom_cleanup() {
true
}
__lnmp_custom_up() {
true
}
__lnmp_custom_down() {
true
}
__lnmp_custom_pull() {
true
}
__lnmp_custom_restart() {
true
}
# 当执行不存在的命令时会调用该函数 `lnmp-dcker no-found-cmd`
__lnmp_custom_command() {
echo "command [ $@ ] not found"
# please handle your custom command
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Docker
1
https://gitee.com/jenarlion/lnmp.git
git@gitee.com:jenarlion/lnmp.git
jenarlion
lnmp
lnmp
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891