mirror of
https://github.com/YunoHost-Apps/dolibarr_ynh.git
synced 2024-09-03 18:35:53 +02:00
very small cleanup
This commit is contained in:
parent
cdf41c0517
commit
2ced4867ab
4 changed files with 7 additions and 30 deletions
|
@ -1,25 +0,0 @@
|
||||||
;; Test complet
|
|
||||||
; Manifest
|
|
||||||
domain="domain.tld"
|
|
||||||
path="/path"
|
|
||||||
admin="john"
|
|
||||||
; Checks
|
|
||||||
pkg_linter=1
|
|
||||||
setup_sub_dir=1
|
|
||||||
setup_root=1
|
|
||||||
setup_nourl=0
|
|
||||||
setup_private=0
|
|
||||||
setup_public=0
|
|
||||||
upgrade=1
|
|
||||||
upgrade=1 from_commit=7e3914481ac4d6c40f3be3f35f155fac6f4387c6
|
|
||||||
backup_restore=1
|
|
||||||
multi_instance=1
|
|
||||||
port_already_use=0
|
|
||||||
change_url=1
|
|
||||||
;;; Options
|
|
||||||
Email=
|
|
||||||
Notification=none
|
|
||||||
;;; Upgrade options
|
|
||||||
; commit=CommitHash
|
|
||||||
name=16.0.5
|
|
||||||
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&
|
|
|
@ -2,7 +2,7 @@
|
||||||
location __PATH__/ {
|
location __PATH__/ {
|
||||||
|
|
||||||
# Path to source
|
# Path to source
|
||||||
alias __INSTALL_DIR__/htdocs/ ;
|
alias __INSTALL_DIR__/htdocs/;
|
||||||
|
|
||||||
index index.php;
|
index index.php;
|
||||||
|
|
||||||
|
|
|
@ -48,8 +48,8 @@ ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Reloading NGINX web server and PHP-FPM..." --weight=1
|
ynh_script_progression --message="Reloading NGINX web server and PHP-FPM..." --weight=1
|
||||||
|
|
||||||
ynh_systemd_action --service_name=nginx --action=reload
|
|
||||||
ynh_systemd_action --service_name="php$phpversion-fpm" --action=reload
|
ynh_systemd_action --service_name="php$phpversion-fpm" --action=reload
|
||||||
|
ynh_systemd_action --service_name=nginx --action=reload
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
|
@ -4,8 +4,10 @@ test_format = 1.0
|
||||||
|
|
||||||
[default]
|
[default]
|
||||||
|
|
||||||
# ------------
|
# -------------------------------
|
||||||
# Tests to run
|
# Commits to test upgrade from
|
||||||
# ------------
|
# -------------------------------
|
||||||
|
|
||||||
|
test_upgrade_from.8f6e1a302a943607aa640bbcb44405c8cb0a513d.name = "Upgrade from 18.0.3"
|
||||||
|
test_upgrade_from.c91139d3859032c3982b4bba3943aeae3ca57948.name = "15.0.3"
|
||||||
test_upgrade_from.7e3914481ac4d6c40f3be3f35f155fac6f4387c6.name = "old version"
|
test_upgrade_from.7e3914481ac4d6c40f3be3f35f155fac6f4387c6.name = "old version"
|
||||||
|
|
Loading…
Reference in a new issue