mirror of
https://github.com/YunoHost-Apps/duniter_ynh.git
synced 2024-09-03 18:26:35 +02:00
Flash back to old way to check domain/path availability.
This commit is contained in:
parent
1dcfd76956
commit
7ad95d01e3
1 changed files with 4 additions and 2 deletions
|
@ -15,8 +15,10 @@ password=$7
|
|||
#cpu=`expr $7 / 100`
|
||||
|
||||
# Check domain/path availability
|
||||
sudo yunohost app checkurl $domain$path -a $app \
|
||||
|| (echo "Path not available: $domain$path" && exit 1)
|
||||
sudo yunohost app checkurl $domain$path -a $app
|
||||
if [[ ! $? -eq 0 ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check port availability
|
||||
sudo yunohost app checkport $port
|
||||
|
|
Loading…
Reference in a new issue