Aligner le paquet sur le modèle YunoHost
This commit is contained in:
parent
1a45355ed3
commit
7ae2307abf
16 changed files with 302 additions and 35 deletions
|
|
@ -1,4 +1,23 @@
|
|||
#!/bin/bash
|
||||
|
||||
#=================================================
|
||||
# IMPORT GENERIC HELPERS
|
||||
#=================================================
|
||||
|
||||
source _common.sh
|
||||
source /usr/share/yunohost/helpers
|
||||
|
||||
#=================================================
|
||||
# MODIFY URL IN NGINX CONF
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression "Updating NGINX web server configuration..."
|
||||
|
||||
ynh_config_change_url_nginx
|
||||
ynh_systemctl --service=nginx --action=reload
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression "Change of URL completed for $app"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue