mirror of
https://github.com/YunoHost-Apps/wetty_ynh.git
synced 2024-09-03 18:16:29 +02:00
linter
This commit is contained in:
parent
ae135e8347
commit
dfa4ff1614
7 changed files with 13 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
|||
[Unit]
|
||||
Description=Wetty Web Terminal
|
||||
Description=Wetty: Web Terminal
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
|
|
|
@ -14,7 +14,7 @@ license = "free"
|
|||
website = "https://github.com/butlerx/wetty/"
|
||||
|
||||
[integration]
|
||||
yunohost = ">=11.1.0"
|
||||
yunohost = ">=11.1.20"
|
||||
architectures = "all"
|
||||
multi_instance = true
|
||||
ldap = "not_relevant"
|
||||
|
@ -52,3 +52,9 @@ ram.runtime = "?" # FIXME: replace with an **estimate** minimum ram requirement.
|
|||
|
||||
[resources.ports]
|
||||
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"
|
||||
|
|
|
@ -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"
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
ynh_script_progression --message="Reloading NGINX web server..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name=nginx --action=reload
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
|
@ -17,11 +17,6 @@ ynh_script_progression --message="Installing dependencies..." --weight=6
|
|||
# Install nodejs
|
||||
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
|
||||
#=================================================
|
||||
|
|
5
tests.toml
Normal file
5
tests.toml
Normal file
|
@ -0,0 +1,5 @@
|
|||
test_format = 1.0
|
||||
|
||||
[default]
|
||||
|
||||
test_upgrade_from.e7ffa9512f59c8c2097512a4b6613524c5284e77.name = "Upgrade from 2.0.3~ynh4"
|
Loading…
Reference in a new issue