mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
shell
This commit is contained in:
parent
0a058e4cf2
commit
f7f0bdc650
3 changed files with 6 additions and 2 deletions
|
@ -3,6 +3,7 @@ POWER_PASSWORD=uQ8E1wVTzG8SOk3!
|
|||
APP_NAME=websoft9-kopia
|
||||
APP_NETWORK=websoft9
|
||||
APP_VERSION=0.13
|
||||
APP_HTTP_PORT=51515
|
||||
|
||||
APP_USER=admin
|
||||
APP_PASSWORD=$POWER_PASSWORD
|
||||
|
|
|
@ -432,7 +432,6 @@ docker run --rm --volume /tmp:/work backplane/htpasswd -c -b .htpasswd websoft9
|
|||
cp /tmp/.htpasswd /var/lib/docker/volumes/w9nginxproxymanager_nginx_data/_data/nginx/proxy_host/.htpasswd
|
||||
sudo docker restart websoft9-nginxproxymanager
|
||||
|
||||
echo "---------------------------------- Install success! you can install a app by websoft9's appstore -------------------------------------------------------"
|
||||
}
|
||||
|
||||
EditMenu(){
|
||||
|
@ -452,6 +451,8 @@ fi
|
|||
if [ -e /usr/share/cockpit/users ]; then
|
||||
sudo sed -i 's/menu/tools/g' /usr/share/cockpit/users/manifest.json
|
||||
fi
|
||||
echo "---------------------------------- Install success! you can install a app by websoft9's appstore -------------------------------------------------------"
|
||||
|
||||
}
|
||||
|
||||
CheckEnvironment
|
||||
|
|
|
@ -431,7 +431,6 @@ docker run --rm --volume /tmp:/work backplane/htpasswd -c -b .htpasswd websoft9
|
|||
cp /tmp/.htpasswd /var/lib/docker/volumes/w9nginxproxymanager_nginx_data/_data/nginx/proxy_host/.htpasswd
|
||||
sudo docker restart websoft9-nginxproxymanager
|
||||
|
||||
echo "---------------------------------- Install success! you can install a app by websoft9's appstore -------------------------------------------------------"
|
||||
}
|
||||
|
||||
EditMenu(){
|
||||
|
@ -451,6 +450,9 @@ fi
|
|||
if [ -e /usr/share/cockpit/users ]; then
|
||||
sudo sed -i 's/menu/tools/g' /usr/share/cockpit/users/manifest.json
|
||||
fi
|
||||
|
||||
echo "---------------------------------- Install success! you can install a app by websoft9's appstore -------------------------------------------------------"
|
||||
|
||||
}
|
||||
|
||||
CheckEnvironment
|
||||
|
|
Loading…
Reference in a new issue