mirror of
https://github.com/YunoHost-Apps/nocodb_ynh.git
synced 2024-09-03 19:56:01 +02:00
cleaning
This commit is contained in:
parent
7ca65f5bac
commit
fbdad322f7
4 changed files with 9 additions and 7 deletions
|
@ -3,7 +3,7 @@ packaging_format = 2
|
||||||
id = "nocodb"
|
id = "nocodb"
|
||||||
name = "NocoDB"
|
name = "NocoDB"
|
||||||
description.en = "No-code platform that turns any database into a smart spreadsheet"
|
description.en = "No-code platform that turns any database into a smart spreadsheet"
|
||||||
description.fr = "Plateform sans code qui transforme toute base de données en un tableur intelligent."
|
description.fr = "Plateform sans code qui transforme toute base de données en un tableur intelligent"
|
||||||
|
|
||||||
version = "0.202.4~ynh1"
|
version = "0.202.4~ynh1"
|
||||||
|
|
||||||
|
@ -40,8 +40,10 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
[resources.sources.main]
|
[resources.sources.main]
|
||||||
url = "https://github.com/nocodb/nocodb-seed/archive/c46e588bf143b04e519fec6e973a3da8fa260ace.zip"
|
url = "https://github.com/nocodb/nocodb-seed/archive/bb1686f4c4723042b176e98a6660738a99af495b.zip"
|
||||||
sha256 = "7f05ec8cf27c58fcac6c257f3d2e3ea209c663613b7240c12b12e59ed8d6b310"
|
sha256 = "34a0e84757a442d26a93a3cb22249fb860296d7a0d11eadfc642aae55de03f9d"
|
||||||
|
autoupdate.upstream = "https://github.com/nocodb/nocodb-seed"
|
||||||
|
autoupdate.strategy = "latest_github_commit"
|
||||||
|
|
||||||
|
|
||||||
[resources.system_user]
|
[resources.system_user]
|
||||||
|
|
|
@ -54,7 +54,7 @@ ynh_add_systemd_config
|
||||||
# Use logrotate to manage application logfile(s)
|
# Use logrotate to manage application logfile(s)
|
||||||
ynh_use_logrotate
|
ynh_use_logrotate
|
||||||
|
|
||||||
yunohost service add $app --description="$app daemon, turns any database into a smart-spreadsheet" --log="/var/log/$app/$app.log"
|
yunohost service add $app --description="Turns any database into a smart-spreadsheet" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC SETUP
|
# SPECIFIC SETUP
|
||||||
|
|
|
@ -52,7 +52,7 @@ systemctl enable $app.service --quiet
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
ynh_restore_file --origin_path="/etc/logrotate.d/$app"
|
||||||
|
|
||||||
yunohost service add $app --description="$app daemon, turns any database into a smart-spreadsheet" --log="/var/log/$app/$app.log"
|
yunohost service add $app --description="Turns any database into a smart-spreadsheet" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
|
|
|
@ -44,7 +44,7 @@ chown -R $app:www-data "$install_dir"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Upgrading dependencies..." --weight=1
|
ynh_script_progression --message="Upgrading dependencies..." --weight=1
|
||||||
|
|
||||||
ynh_install_nodejs --nodejs_version=$new_nodejs_version
|
ynh_install_nodejs --nodejs_version=$nodejs_version
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
@ -60,7 +60,7 @@ ynh_add_systemd_config
|
||||||
# Use logrotate to manage app-specific logfile(s)
|
# Use logrotate to manage app-specific logfile(s)
|
||||||
ynh_use_logrotate --non-append
|
ynh_use_logrotate --non-append
|
||||||
|
|
||||||
yunohost service add $app --description="$app daemon, turns any database into a smart-spreadsheet" --log="/var/log/$app/$app.log"
|
yunohost service add $app --description="Turns any database into a smart-spreadsheet" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC UPGRADE
|
# SPECIFIC UPGRADE
|
||||||
|
|
Loading…
Reference in a new issue