mirror of
https://github.com/YunoHost-Apps/shellinabox_ynh.git
synced 2024-09-03 20:26:12 +02:00
Merge b20ee90ad1
into c47b149a11
This commit is contained in:
commit
a14c9fb87f
14 changed files with 173 additions and 19 deletions
|
@ -1,6 +1,8 @@
|
||||||
# All available README files by language
|
# All available README files by language
|
||||||
|
|
||||||
- [Read the README in English](README.md)
|
- [Read the README in English](README.md)
|
||||||
|
- [Lee el README en español](README_es.md)
|
||||||
|
- [Irakurri README euskaraz](README_eu.md)
|
||||||
- [Lire le README en français](README_fr.md)
|
- [Lire le README en français](README_fr.md)
|
||||||
- [Le o README en galego](README_gl.md)
|
- [Le o README en galego](README_gl.md)
|
||||||
- [Leggi il “README” in italiano](README_it.md)
|
- [阅读中文(简体)的 README](README_zh_Hans.md)
|
||||||
|
|
|
@ -9,7 +9,7 @@ It shall NOT be edited by hand.
|
||||||
|
|
||||||
[](https://install-app.yunohost.org/?app=shellinabox)
|
[](https://install-app.yunohost.org/?app=shellinabox)
|
||||||
|
|
||||||
*[Read this README is other languages.](./ALL_README.md)*
|
*[Read this README in other languages.](./ALL_README.md)*
|
||||||
|
|
||||||
> *This package allows you to install Shell In A Box quickly and simply on a YunoHost server.*
|
> *This package allows you to install Shell In A Box quickly and simply on a YunoHost server.*
|
||||||
> *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.*
|
> *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.*
|
||||||
|
@ -19,7 +19,7 @@ It shall NOT be edited by hand.
|
||||||
Shell In A Box implements a web server that can export arbitrary command line tools to a web based terminal emulator. This emulator is accessible to any JavaScript and CSS enabled web browser and does not require any additional browser plugins.
|
Shell In A Box implements a web server that can export arbitrary command line tools to a web based terminal emulator. This emulator is accessible to any JavaScript and CSS enabled web browser and does not require any additional browser plugins.
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 2.21~ynh4
|
**Shipped version:** 2.21~ynh5
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
49
README_es.md
Normal file
49
README_es.md
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
<!--
|
||||||
|
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
|
||||||
|
No se debe editar a mano.
|
||||||
|
-->
|
||||||
|
|
||||||
|
# Shell In A Box para Yunohost
|
||||||
|
|
||||||
|
[](https://dash.yunohost.org/appci/app/shellinabox)  
|
||||||
|
|
||||||
|
[](https://install-app.yunohost.org/?app=shellinabox)
|
||||||
|
|
||||||
|
*[Leer este README en otros idiomas.](./ALL_README.md)*
|
||||||
|
|
||||||
|
> *Este paquete le permite instalarShell In A Box rapidamente y simplement en un servidor YunoHost.*
|
||||||
|
> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.*
|
||||||
|
|
||||||
|
## Descripción general
|
||||||
|
|
||||||
|
Shell In A Box implements a web server that can export arbitrary command line tools to a web based terminal emulator. This emulator is accessible to any JavaScript and CSS enabled web browser and does not require any additional browser plugins.
|
||||||
|
|
||||||
|
|
||||||
|
**Versión actual:** 2.21~ynh5
|
||||||
|
|
||||||
|
## Capturas
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Documentaciones y recursos
|
||||||
|
|
||||||
|
- Sitio web oficial: <https://code.google.com/archive/p/shellinabox/>
|
||||||
|
- Documentación usuario oficial: <https://code.google.com/p/shellinabox/wiki/shellinaboxd_man>
|
||||||
|
- Documentación administrador oficial: <https://github.com/shellinabox/shellinabox/wiki/shellinaboxd_man>
|
||||||
|
- Repositorio del código fuente oficial de la aplicación : <https://github.com/shellinabox/shellinabox>
|
||||||
|
- Catálogo YunoHost: <https://apps.yunohost.org/app/shellinabox>
|
||||||
|
- Reportar un error: <https://github.com/YunoHost-Apps/shellinabox_ynh/issues>
|
||||||
|
|
||||||
|
## Información para desarrolladores
|
||||||
|
|
||||||
|
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/shellinabox_ynh/tree/testing
|
||||||
|
|
||||||
|
Para probar la rama `testing`, sigue asÍ:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo yunohost app install https://github.com/YunoHost-Apps/shellinabox_ynh/tree/testing --debug
|
||||||
|
o
|
||||||
|
sudo yunohost app upgrade shellinabox -u https://github.com/YunoHost-Apps/shellinabox_ynh/tree/testing --debug
|
||||||
|
```
|
||||||
|
|
||||||
|
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>
|
49
README_eu.md
Normal file
49
README_eu.md
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
<!--
|
||||||
|
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
|
||||||
|
EZ editatu eskuz.
|
||||||
|
-->
|
||||||
|
|
||||||
|
# Shell In A Box YunoHost-erako
|
||||||
|
|
||||||
|
[](https://dash.yunohost.org/appci/app/shellinabox)  
|
||||||
|
|
||||||
|
[](https://install-app.yunohost.org/?app=shellinabox)
|
||||||
|
|
||||||
|
*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
|
||||||
|
|
||||||
|
> *Pakete honek Shell In A Box YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
|
||||||
|
> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
|
||||||
|
|
||||||
|
## Aurreikuspena
|
||||||
|
|
||||||
|
Shell In A Box implements a web server that can export arbitrary command line tools to a web based terminal emulator. This emulator is accessible to any JavaScript and CSS enabled web browser and does not require any additional browser plugins.
|
||||||
|
|
||||||
|
|
||||||
|
**Paketatutako bertsioa:** 2.21~ynh5
|
||||||
|
|
||||||
|
## Pantaila-argazkiak
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Dokumentazioa eta baliabideak
|
||||||
|
|
||||||
|
- Aplikazioaren webgune ofiziala: <https://code.google.com/archive/p/shellinabox/>
|
||||||
|
- Erabiltzaileen dokumentazio ofiziala: <https://code.google.com/p/shellinabox/wiki/shellinaboxd_man>
|
||||||
|
- Administratzaileen dokumentazio ofiziala: <https://github.com/shellinabox/shellinabox/wiki/shellinaboxd_man>
|
||||||
|
- Jatorrizko aplikazioaren kode-gordailua: <https://github.com/shellinabox/shellinabox>
|
||||||
|
- YunoHost Denda: <https://apps.yunohost.org/app/shellinabox>
|
||||||
|
- Eman errore baten berri: <https://github.com/YunoHost-Apps/shellinabox_ynh/issues>
|
||||||
|
|
||||||
|
## Garatzaileentzako informazioa
|
||||||
|
|
||||||
|
Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/shellinabox_ynh/tree/testing).
|
||||||
|
|
||||||
|
`testing` abarra probatzeko, ondorengoa egin:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo yunohost app install https://github.com/YunoHost-Apps/shellinabox_ynh/tree/testing --debug
|
||||||
|
edo
|
||||||
|
sudo yunohost app upgrade shellinabox -u https://github.com/YunoHost-Apps/shellinabox_ynh/tree/testing --debug
|
||||||
|
```
|
||||||
|
|
||||||
|
**Informazio gehiago aplikazioaren paketatzeari buruz:** <https://yunohost.org/packaging_apps>
|
|
@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main.
|
||||||
Shell In A Box implements a web server that can export arbitrary command line tools to a web based terminal emulator. This emulator is accessible to any JavaScript and CSS enabled web browser and does not require any additional browser plugins.
|
Shell In A Box implements a web server that can export arbitrary command line tools to a web based terminal emulator. This emulator is accessible to any JavaScript and CSS enabled web browser and does not require any additional browser plugins.
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 2.21~ynh4
|
**Version incluse :** 2.21~ynh5
|
||||||
|
|
||||||
## Captures d’écran
|
## Captures d’écran
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ NON debe editarse manualmente.
|
||||||
Shell In A Box implements a web server that can export arbitrary command line tools to a web based terminal emulator. This emulator is accessible to any JavaScript and CSS enabled web browser and does not require any additional browser plugins.
|
Shell In A Box implements a web server that can export arbitrary command line tools to a web based terminal emulator. This emulator is accessible to any JavaScript and CSS enabled web browser and does not require any additional browser plugins.
|
||||||
|
|
||||||
|
|
||||||
**Versión proporcionada:** 2.21~ynh4
|
**Versión proporcionada:** 2.21~ynh5
|
||||||
|
|
||||||
## Capturas de pantalla
|
## Capturas de pantalla
|
||||||
|
|
||||||
|
|
49
README_zh_Hans.md
Normal file
49
README_zh_Hans.md
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
<!--
|
||||||
|
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
|
||||||
|
请勿手动编辑。
|
||||||
|
-->
|
||||||
|
|
||||||
|
# YunoHost 上的 Shell In A Box
|
||||||
|
|
||||||
|
[](https://dash.yunohost.org/appci/app/shellinabox)  
|
||||||
|
|
||||||
|
[](https://install-app.yunohost.org/?app=shellinabox)
|
||||||
|
|
||||||
|
*[阅读此 README 的其它语言版本。](./ALL_README.md)*
|
||||||
|
|
||||||
|
> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Shell In A Box。*
|
||||||
|
> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。*
|
||||||
|
|
||||||
|
## 概况
|
||||||
|
|
||||||
|
Shell In A Box implements a web server that can export arbitrary command line tools to a web based terminal emulator. This emulator is accessible to any JavaScript and CSS enabled web browser and does not require any additional browser plugins.
|
||||||
|
|
||||||
|
|
||||||
|
**分发版本:** 2.21~ynh5
|
||||||
|
|
||||||
|
## 截图
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## 文档与资源
|
||||||
|
|
||||||
|
- 官方应用网站: <https://code.google.com/archive/p/shellinabox/>
|
||||||
|
- 官方用户文档: <https://code.google.com/p/shellinabox/wiki/shellinaboxd_man>
|
||||||
|
- 官方管理文档: <https://github.com/shellinabox/shellinabox/wiki/shellinaboxd_man>
|
||||||
|
- 上游应用代码库: <https://github.com/shellinabox/shellinabox>
|
||||||
|
- YunoHost 商店: <https://apps.yunohost.org/app/shellinabox>
|
||||||
|
- 报告 bug: <https://github.com/YunoHost-Apps/shellinabox_ynh/issues>
|
||||||
|
|
||||||
|
## 开发者信息
|
||||||
|
|
||||||
|
请向 [`testing` 分支](https://github.com/YunoHost-Apps/shellinabox_ynh/tree/testing) 发送拉取请求。
|
||||||
|
|
||||||
|
如要尝试 `testing` 分支,请这样操作:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo yunohost app install https://github.com/YunoHost-Apps/shellinabox_ynh/tree/testing --debug
|
||||||
|
或
|
||||||
|
sudo yunohost app upgrade shellinabox -u https://github.com/YunoHost-Apps/shellinabox_ynh/tree/testing --debug
|
||||||
|
```
|
||||||
|
|
||||||
|
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>
|
|
@ -1,7 +1,7 @@
|
||||||
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;
|
||||||
location __PATH__/ {
|
location __PATH__/ {
|
||||||
|
|
||||||
proxy_pass http://127.0.0.1:__PORT__/;
|
proxy_pass http://127.0.0.1:__PORT__;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
tcp_nodelay on;
|
tcp_nodelay on;
|
||||||
|
|
|
@ -6,9 +6,9 @@ SHELLINABOX_PORT=__PORT__
|
||||||
|
|
||||||
# Parameters that are managed by the system and usually should not need
|
# Parameters that are managed by the system and usually should not need
|
||||||
# changing:
|
# changing:
|
||||||
# SHELLINABOX_DATA_DIR=/var/lib/shellinabox
|
# SHELLINABOX_DATADIR=/var/lib/shellinabox
|
||||||
# SHELLINABOX_USER=shellinabox
|
SHELLINABOX_USER=__APP__
|
||||||
# SHELLINABOX_GROUP=shellinabox
|
SHELLINABOX_GROUP=__APP__
|
||||||
|
|
||||||
# Any optional arguments (e.g. extra service definitions). Make sure
|
# Any optional arguments (e.g. extra service definitions). Make sure
|
||||||
# that that argument is quoted.
|
# that that argument is quoted.
|
||||||
|
|
|
@ -5,7 +5,7 @@ name = "Shell In A Box"
|
||||||
description.en = "Web based AJAX terminal emulator"
|
description.en = "Web based AJAX terminal emulator"
|
||||||
description.fr = "Émulateur de terminal web"
|
description.fr = "Émulateur de terminal web"
|
||||||
|
|
||||||
version = "2.21~ynh4"
|
version = "2.21~ynh5"
|
||||||
|
|
||||||
maintainers = []
|
maintainers = []
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ userdoc = "https://code.google.com/p/shellinabox/wiki/shellinaboxd_man"
|
||||||
code = "https://github.com/shellinabox/shellinabox"
|
code = "https://github.com/shellinabox/shellinabox"
|
||||||
|
|
||||||
[integration]
|
[integration]
|
||||||
yunohost = ">= 11.1.19"
|
yunohost = ">= 11.2"
|
||||||
architectures = "all"
|
architectures = "all"
|
||||||
multi_instance = false
|
multi_instance = false
|
||||||
ldap = false
|
ldap = false
|
||||||
|
@ -36,11 +36,14 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
|
|
||||||
|
[resources.system_user]
|
||||||
|
|
||||||
[resources.ports]
|
[resources.ports]
|
||||||
main.default = 4200
|
|
||||||
|
|
||||||
[resources.permissions]
|
[resources.permissions]
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
|
main.allowed = "admins"
|
||||||
|
main.protected = true
|
||||||
|
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = "shellinabox"
|
packages = "shellinabox"
|
||||||
|
|
|
@ -42,7 +42,7 @@ systemctl daemon-reload
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
|
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
|
||||||
|
|
||||||
yunohost service add $app --description="Web based AJAX terminal emulator"
|
yunohost service add $app --description="Web based AJAX terminal emulator" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
|
@ -50,7 +50,7 @@ yunohost service add $app --description="Web based AJAX terminal emulator"
|
||||||
ynh_script_progression --message="Starting a systemd service..."
|
ynh_script_progression --message="Starting a systemd service..."
|
||||||
|
|
||||||
# Start a systemd service
|
# Start a systemd service
|
||||||
ynh_systemd_action --service_name=shellinabox --action=restart
|
ynh_systemd_action --service_name=shellinabox --action=restart --log_path="systemd"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
|
@ -40,14 +40,14 @@ systemctl daemon-reload
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
|
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
|
||||||
|
|
||||||
yunohost service add $app --description="Web based AJAX terminal emulator"
|
yunohost service add $app --description="Web based AJAX terminal emulator" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting a systemd service..."
|
ynh_script_progression --message="Starting a systemd service..."
|
||||||
|
|
||||||
ynh_systemd_action --service_name=shellinabox --action=restart
|
ynh_systemd_action --service_name=shellinabox --action=restart --log_path="systemd"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
|
@ -22,7 +22,7 @@ upgrade_type=$(ynh_check_app_version_changed)
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Stopping a systemd service..."
|
ynh_script_progression --message="Stopping a systemd service..."
|
||||||
|
|
||||||
ynh_systemd_action --service_name=$app --action="stop"
|
ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
@ -54,14 +54,14 @@ systemctl daemon-reload
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
|
ynh_script_progression --message="Integrating service in YunoHost..." --weight=1
|
||||||
|
|
||||||
yunohost service add $app --description="Web based AJAX terminal emulator"
|
yunohost service add $app --description="Web based AJAX terminal emulator" --log="/var/log/$app/$app.log"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting a systemd service..."
|
ynh_script_progression --message="Starting a systemd service..."
|
||||||
|
|
||||||
ynh_systemd_action --service_name=shellinabox --action=restart
|
ynh_systemd_action --service_name=shellinabox --action=restart --log_path="systemd"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
|
@ -5,3 +5,5 @@ test_format = 1.0
|
||||||
# -------------------------------
|
# -------------------------------
|
||||||
# Commits to test upgrade from
|
# Commits to test upgrade from
|
||||||
# -------------------------------
|
# -------------------------------
|
||||||
|
|
||||||
|
test_upgrade_from.86375c3948e425220b388a147582e6c1058858ee.name = "Upgrade from 2.21~ynh3"
|
Loading…
Add table
Reference in a new issue