mirror of
https://github.com/YunoHost-Apps/cockpit_ynh.git
synced 2024-09-03 18:16:26 +02:00
commit
1ad146e436
9 changed files with 39 additions and 33 deletions
23
README.md
23
README.md
|
@ -5,7 +5,7 @@ It shall NOT be edited by hand.
|
|||
|
||||
# Cockpit for YunoHost
|
||||
|
||||
[![Integration level](https://dash.yunohost.org/integration/cockpit.svg)](https://dash.yunohost.org/appci/app/cockpit) ![](https://ci-apps.yunohost.org/ci/badges/cockpit.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/cockpit.maintain.svg)
|
||||
[![Integration level](https://dash.yunohost.org/integration/cockpit.svg)](https://dash.yunohost.org/appci/app/cockpit) ![Working status](https://ci-apps.yunohost.org/ci/badges/cockpit.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/cockpit.maintain.svg)
|
||||
[![Install Cockpit with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=cockpit)
|
||||
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
|
@ -19,31 +19,30 @@ Cockpit is a web-based graphical interface for servers, intended for everyone.
|
|||
|
||||
|
||||
|
||||
**Shipped version:** 188~ynh1
|
||||
|
||||
|
||||
**Shipped version:** 188~ynh2
|
||||
|
||||
## Screenshots
|
||||
|
||||
![](./doc/screenshots/screenshot-storage.png)
|
||||
![Screenshot of Cockpit](./doc/screenshots/screenshot-storage.png)
|
||||
|
||||
## Documentation and resources
|
||||
|
||||
* Official app website: https://cockpit-project.org/
|
||||
* Official admin documentation: https://cockpit-project.org/documentation.html
|
||||
* Upstream app code repository: https://github.com/cockpit-project/cockpit
|
||||
* YunoHost documentation for this app: https://yunohost.org/app_cockpit
|
||||
* Report a bug: https://github.com/YunoHost-Apps/cockpit_ynh/issues
|
||||
* Official app website: <https://cockpit-project.org/>
|
||||
* Official admin documentation: <https://cockpit-project.org/documentation.html>
|
||||
* Upstream app code repository: <https://github.com/cockpit-project/cockpit>
|
||||
* YunoHost documentation for this app: <https://yunohost.org/app_cockpit>
|
||||
* Report a bug: <https://github.com/YunoHost-Apps/cockpit_ynh/issues>
|
||||
|
||||
## Developer info
|
||||
|
||||
Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/cockpit_ynh/tree/testing).
|
||||
|
||||
To try the testing branch, please proceed like that.
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/cockpit_ynh/tree/testing --debug
|
||||
or
|
||||
sudo yunohost app upgrade cockpit -u https://github.com/YunoHost-Apps/cockpit_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**More info regarding app packaging:** https://yunohost.org/packaging_apps
|
||||
**More info regarding app packaging:** <https://yunohost.org/packaging_apps>
|
||||
|
|
29
README_fr.md
29
README_fr.md
|
@ -1,10 +1,14 @@
|
|||
<!--
|
||||
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
|
||||
It shall NOT be edited by hand.
|
||||
-->
|
||||
|
||||
# Cockpit pour YunoHost
|
||||
|
||||
[![Niveau d'intégration](https://dash.yunohost.org/integration/cockpit.svg)](https://dash.yunohost.org/appci/app/cockpit) ![](https://ci-apps.yunohost.org/ci/badges/cockpit.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/cockpit.maintain.svg)
|
||||
[![Niveau d'intégration](https://dash.yunohost.org/integration/cockpit.svg)](https://dash.yunohost.org/appci/app/cockpit) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/cockpit.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/cockpit.maintain.svg)
|
||||
[![Installer Cockpit avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=cockpit)
|
||||
|
||||
*[Read this readme in english.](./README.md)*
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
|
||||
> *Ce package vous permet d'installer Cockpit rapidement et simplement sur un serveur YunoHost.
|
||||
Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
|
||||
|
@ -15,31 +19,30 @@ Cockpit is a web-based graphical interface for servers, intended for everyone.
|
|||
|
||||
|
||||
|
||||
**Version incluse :** 188~ynh1
|
||||
|
||||
|
||||
**Version incluse :** 188~ynh2
|
||||
|
||||
## Captures d'écran
|
||||
|
||||
![](./doc/screenshots/screenshot-storage.png)
|
||||
![Capture d'écran de Cockpit](./doc/screenshots/screenshot-storage.png)
|
||||
|
||||
## Documentations et ressources
|
||||
|
||||
* Site officiel de l'app : https://cockpit-project.org/
|
||||
* Documentation officielle de l'admin : https://cockpit-project.org/documentation.html
|
||||
* Dépôt de code officiel de l'app : https://github.com/cockpit-project/cockpit
|
||||
* Documentation YunoHost pour cette app : https://yunohost.org/app_cockpit
|
||||
* Signaler un bug : https://github.com/YunoHost-Apps/cockpit_ynh/issues
|
||||
* Site officiel de l'app : <https://cockpit-project.org/>
|
||||
* Documentation officielle de l'admin : <https://cockpit-project.org/documentation.html>
|
||||
* Dépôt de code officiel de l'app : <https://github.com/cockpit-project/cockpit>
|
||||
* Documentation YunoHost pour cette app : <https://yunohost.org/app_cockpit>
|
||||
* Signaler un bug : <https://github.com/YunoHost-Apps/cockpit_ynh/issues>
|
||||
|
||||
## Informations pour les développeurs
|
||||
|
||||
Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/cockpit_ynh/tree/testing).
|
||||
|
||||
Pour essayer la branche testing, procédez comme suit.
|
||||
```
|
||||
|
||||
``` bash
|
||||
sudo yunohost app install https://github.com/YunoHost-Apps/cockpit_ynh/tree/testing --debug
|
||||
ou
|
||||
sudo yunohost app upgrade cockpit -u https://github.com/YunoHost-Apps/cockpit_ynh/tree/testing --debug
|
||||
```
|
||||
|
||||
**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps
|
||||
**Plus d'infos sur le packaging d'applications :** <https://yunohost.org/packaging_apps>
|
||||
|
|
|
@ -1,16 +1,20 @@
|
|||
;; Test complet
|
||||
; Manifest
|
||||
domain="domain.tld"
|
||||
path="/path"
|
||||
; Checks
|
||||
pkg_linter=1
|
||||
setup_sub_dir=0
|
||||
setup_sub_dir=1
|
||||
setup_root=1
|
||||
setup_nourl=0
|
||||
setup_private=0
|
||||
setup_public=0
|
||||
upgrade=1
|
||||
# 188~ynh1
|
||||
upgrade=1 from_commit=d94f20300b9296f5dbe879d025a5f481ecb15011
|
||||
backup_restore=1
|
||||
multi_instance=0
|
||||
port_already_use=0
|
||||
change_url=0
|
||||
;;; Options
|
||||
Email=
|
||||
|
|
|
@ -9,7 +9,6 @@ location __PATH__/ {
|
|||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
|
||||
# Include SSOWAT user panel.
|
||||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Sysadmin login session in a web browser",
|
||||
"fr": "Session de connexion sysadmin dans un navigateur Web"
|
||||
},
|
||||
"version": "188~ynh1",
|
||||
"version": "188~ynh2",
|
||||
"url": "https://cockpit-project.org/",
|
||||
"upstream": {
|
||||
"license": "LGPL-2.1-only",
|
||||
|
@ -28,7 +28,7 @@
|
|||
],
|
||||
"arguments": {
|
||||
"install": [
|
||||
{
|
||||
{
|
||||
"name": "domain",
|
||||
"type": "domain"
|
||||
},
|
||||
|
|
|
@ -96,6 +96,7 @@ yunohost service add $app
|
|||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=2
|
||||
|
||||
# Start a systemd service
|
||||
ynh_systemd_action --service_name=$app --action="restart" --log_path="systemd" --line_match="Started"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -29,7 +29,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
|||
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
|
||||
if ynh_exec_warn_less yunohost service status $app >/dev/null
|
||||
then
|
||||
ynh_script_progression --message="Removing $app service..." --weight=1
|
||||
ynh_script_progression --message="Removing $app service integration..." --weight=1
|
||||
yunohost service remove $app
|
||||
fi
|
||||
|
||||
|
|
|
@ -93,4 +93,4 @@ ynh_systemd_action --service_name=nginx --action=reload
|
|||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression --message="Installation of $app completed" --last
|
||||
ynh_script_progression --message="Restoration completed for $app" --last
|
||||
|
|
|
@ -55,7 +55,7 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
|
|||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring NGINX web server..." --weight=2
|
||||
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=2
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
|
Loading…
Reference in a new issue