mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-10 18:02:55 +00:00
no message
This commit is contained in:
parent
6b72a309f5
commit
959f9454d8
6
cmd
6
cmd
@ -249,7 +249,7 @@ remove_by_network() {
|
||||
}
|
||||
|
||||
uninstall_appstore() {
|
||||
docker run -it --rm -v ${cur_path}/docker/appstore:/appstore nginx:alpine sh -c "find /appstore/configs -mindepth 1 -type d | sort -r | xargs rm -rf; rm -f /appstore/logs/*.log"
|
||||
docker run -it --rm -v ${cur_path}/docker/appstore:/appstore nginx:alpine sh -c "find /appstore/config -mindepth 1 -type d | sort -r | xargs rm -rf; rm -f /appstore/log/*.log"
|
||||
}
|
||||
|
||||
https_auto() {
|
||||
@ -406,6 +406,10 @@ if [ $# -gt 0 ]; then
|
||||
((remaining=$remaining-1))
|
||||
writable="yes"
|
||||
docker run --rm ${cmda} nginx:alpine sh -c "${cmdb} touch /usr/share/docker/dootask.lock" &> /dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
error "目录权限检测失败!"
|
||||
exit 1
|
||||
fi
|
||||
for vol in "${volumes[@]}"; do
|
||||
if [ ! -f "${vol}/dootask.lock" ]; then
|
||||
if [ $remaining -lt 0 ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user