1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wetty_ynh.git synced 2024-09-03 18:16:29 +02:00
This commit is contained in:
Éric Gaspar 2023-06-10 17:35:18 +02:00 committed by Félix Piédallu
parent ae135e8347
commit dfa4ff1614
7 changed files with 13 additions and 14 deletions

View file

@ -1,5 +1,5 @@
[Unit] [Unit]
Description=Wetty Web Terminal Description=Wetty: Web Terminal
After=network.target After=network.target
[Service] [Service]

View file

@ -14,7 +14,7 @@ license = "free"
website = "https://github.com/butlerx/wetty/" website = "https://github.com/butlerx/wetty/"
[integration] [integration]
yunohost = ">=11.1.0" yunohost = ">=11.1.20"
architectures = "all" architectures = "all"
multi_instance = true multi_instance = true
ldap = "not_relevant" ldap = "not_relevant"
@ -52,3 +52,9 @@ ram.runtime = "?" # FIXME: replace with an **estimate** minimum ram requirement.
[resources.ports] [resources.ports]
main.default = 8095 main.default = 8095
[resources.apt]
packages = ""
extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main"
extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg"
extras.yarn.packages = "yarn"

View file

@ -50,13 +50,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Server started" ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log" --line_match="Server started"
#=================================================
# RELOAD NGINX
#=================================================
ynh_script_progression --message="Reloading NGINX web server..." --weight=1
ynh_systemd_action --service_name=nginx --action=reload
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT
#================================================= #=================================================

View file

@ -17,11 +17,6 @@ ynh_script_progression --message="Installing dependencies..." --weight=6
# Install nodejs # Install nodejs
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
# Install Yarn
ynh_install_extra_app_dependencies --repo="deb https://dl.yarnpkg.com/debian/ stable main" \
--package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg"
--package="yarn" --key="https://dl.yarnpkg.com/debian/pubkey.gpg"
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================

5
tests.toml Normal file
View file

@ -0,0 +1,5 @@
test_format = 1.0
[default]
test_upgrade_from.e7ffa9512f59c8c2097512a4b6613524c5284e77.name = "Upgrade from 2.0.3~ynh4"