mirror of
https://github.com/YunoHost-Apps/emailpoubelle_ynh.git
synced 2024-09-03 18:26:29 +02:00
Update install
This commit is contained in:
parent
82929a1e80
commit
702dfe3ade
1 changed files with 5 additions and 2 deletions
|
@ -15,11 +15,14 @@ postfix=/etc/postfix/main.cf
|
||||||
|
|
||||||
cronline="0 */2 * * * www-data cd $final_path/www/; /usr/bin/php index.php > /dev/null 2>&1"
|
cronline="0 */2 * * * www-data cd $final_path/www/; /usr/bin/php index.php > /dev/null 2>&1"
|
||||||
|
|
||||||
# Check domain/path availability
|
# Check web path availability
|
||||||
sudo yunohost app checkurl $domain$path -a $app
|
ynh_webpath_available $domain $path
|
||||||
|
#sudo yunohost app checkurl $domain$path -a $app
|
||||||
if [[ ! $? -eq 0 ]]; then
|
if [[ ! $? -eq 0 ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
# Register (book) web path
|
||||||
|
ynh_webpath_register $app $domain $path
|
||||||
|
|
||||||
# Check user
|
# Check user
|
||||||
sudo yunohost user list --json | grep -q "\"username\": \"$admin\""
|
sudo yunohost user list --json | grep -q "\"username\": \"$admin\""
|
||||||
|
|
Loading…
Reference in a new issue