Compare commits

...

2 Commits

Author SHA1 Message Date
oiseauroch
a1ec9b2763 fix license in manifest 2022-10-13 15:30:48 +02:00
oiseauroch
0d40db44d4 add regen_conf hook 2022-10-13 15:30:28 +02:00
2 changed files with 11 additions and 1 deletions

10
hooks/post_conf_regen Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
source /usr/share/yunohost/helpers
action=$1
domain=__DOMAIN__
ynh_replace_string --match_string="server_name $domain" --replace_string="server_name $domain *.$domain" --target_file="/etc/nginx/conf.d/$domain.conf"
ynh_store_file_checksum --file="/etc/nginx/conf.d/$domain.conf"

View File

@ -9,7 +9,7 @@
"version": "0.7.3~ynh1", "version": "0.7.3~ynh1",
"url": "https://garagehq.deuxfleurs.fr/", "url": "https://garagehq.deuxfleurs.fr/",
"upstream": { "upstream": {
"license": "free", "license": "AGPL-3.0-only",
"website": "https://garagehq.deuxfleurs.fr/", "website": "https://garagehq.deuxfleurs.fr/",
"admindoc": "https://garagehq.deuxfleurs.fr/documentation/quick-start/", "admindoc": "https://garagehq.deuxfleurs.fr/documentation/quick-start/",
"userdoc": "https://garagehq.deuxfleurs.fr/documentation/quick-start/", "userdoc": "https://garagehq.deuxfleurs.fr/documentation/quick-start/",