mirror of
https://github.com/YunoHost-Apps/cryptpad_ynh.git
synced 2024-09-03 18:26:14 +02:00
Update scripts/upgrade
Co-authored-by: Kayou <pierre@kayou.io>
This commit is contained in:
parent
0464c70706
commit
1532a3721d
1 changed files with 3 additions and 1 deletions
|
@ -192,7 +192,9 @@ ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --lin
|
|||
#=================================================
|
||||
# We don't test that in CI
|
||||
if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
|
||||
ynh_add_config --template="nginx.conf" --destination="/etc/nginx/conf.d/$sandboxdomain.d/$app.conf"
|
||||
if [ -n "$sandboxdomain" ]; then
|
||||
ynh_add_config --template="nginx.conf" --destination="/etc/nginx/conf.d/$sandboxdomain.d/$app.conf"
|
||||
fi
|
||||
fi
|
||||
|
||||
# We authorize access to sandbox domain
|
||||
|
|
Loading…
Reference in a new issue