mirror of
https://github.com/YunoHost-Apps/writefreely_ynh.git
synced 2024-09-03 20:36:02 +02:00
Cleaning
This commit is contained in:
parent
302493f8cb
commit
742e046f91
3 changed files with 4 additions and 5 deletions
|
@ -48,12 +48,10 @@ Depending of the configuration, the app be used by multiple users
|
|||
* x86-64b - [](https://ci-apps.yunohost.org/ci/apps/writefreely/)
|
||||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/writefreely/) **Not supported**
|
||||
* Jessie x86-64b - [](https://ci-stretch.nohost.me/ci/apps/writefreely/)
|
||||
* Testing x86-64b - [](https://ci-apps-unstable.yunohost.org/ci/apps/writefreely/)
|
||||
* Unstable x86-64b - [](https://ci-apps-unstable.yunohost.org/ci/apps/writefreely/)
|
||||
|
||||
## Limitations
|
||||
|
||||
* Any known limitations.
|
||||
* No known limitations.
|
||||
|
||||
## Links
|
||||
|
||||
|
|
|
@ -120,7 +120,8 @@ ynh_systemd_action --action=start --service_name=$app
|
|||
#=================================================
|
||||
# STORE THE CONFIG FILE CHECKSUM
|
||||
#=================================================
|
||||
fy the checksum of a file, stored by `ynh_store_file_checksum` in the install script.
|
||||
|
||||
### Verify the checksum of a file, stored by `ynh_store_file_checksum` in the install script.
|
||||
### And create a backup of this file if the checksum is different. So the file will be backed up if the admin had modified it.
|
||||
ynh_backup_if_checksum_is_different "$final_path/config.ini"
|
||||
# Recalculate and store the checksum of the file for the next upgrade.
|
||||
|
|
|
@ -76,7 +76,7 @@ app=$YNH_APP_INSTANCE_NAME
|
|||
|
||||
### If the app uses nginx as web server (written in HTML/PHP in most cases), the final path should be "/var/www/$app".
|
||||
### If the app provides an internal web server (or uses another application server such as uwsgi), the final path should be "/opt/yunohost/$app"
|
||||
final_path="/var/www/$app"
|
||||
final_path=/var/www/$app
|
||||
test ! -e "$final_path" || ynh_die "This path already contains a folder"
|
||||
|
||||
# Normalize the url path syntax
|
||||
|
|
Loading…
Add table
Reference in a new issue