mirror of
https://github.com/YunoHost-Apps/weblate_ynh.git
synced 2024-10-01 13:35:04 +02:00
Final fixes - restart service and echo instead of return
This commit is contained in:
parent
8b51355bce
commit
9b93349d90
2 changed files with 3 additions and 1 deletions
|
@ -35,7 +35,7 @@ ynh_check_if_checksum_is_different() {
|
||||||
check=1
|
check=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
return "$check"
|
echo "$check"
|
||||||
}
|
}
|
||||||
|
|
||||||
ynh_psql_test_if_first_run() {
|
ynh_psql_test_if_first_run() {
|
||||||
|
|
|
@ -235,4 +235,6 @@ fi
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
|
systemctl stop "$app.service"
|
||||||
|
systemctl start "$app.service"
|
||||||
systemctl reload nginx
|
systemctl reload nginx
|
||||||
|
|
Loading…
Reference in a new issue