mirror of
https://github.com/YunoHost-Apps/rustdesk-server_ynh.git
synced 2024-09-03 20:16:24 +02:00
commit
2f5a540a88
10 changed files with 20 additions and 52 deletions
|
@ -16,7 +16,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
|
|
||||||
RustDesk is a full-featured open source remote control alternative for self-hosting and security with minimal configuration.
|
Self-host your own RustDesk server. RustDesk is a full-featured open source remote control alternative for self-hosting and security with minimal configuration.
|
||||||
|
|
||||||
**Shipped version:** 1.1.8-2~ynh1
|
**Shipped version:** 1.1.8-2~ynh1
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
||||||
|
|
||||||
## Vue d’ensemble
|
## Vue d’ensemble
|
||||||
|
|
||||||
RustDesk est une alternative de contrôle à distance open source complète pour l'auto-hébergement et la sécurité avec une configuration minimale.
|
Auto-hébergez votre propre serveur RustDesk. RustDesk est une alternative de contrôle à distance open source complète pour l'auto-hébergement et la sécurité avec une configuration minimale.
|
||||||
|
|
||||||
**Version incluse :** 1.1.8-2~ynh1
|
**Version incluse :** 1.1.8-2~ynh1
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
RustDesk is a full-featured open source remote control alternative for self-hosting and security with minimal configuration.
|
Self-host your own RustDesk server. RustDesk is a full-featured open source remote control alternative for self-hosting and security with minimal configuration.
|
|
@ -1 +1 @@
|
||||||
RustDesk est une alternative de contrôle à distance open source complète pour l'auto-hébergement et la sécurité avec une configuration minimale.
|
Auto-hébergez votre propre serveur RustDesk. RustDesk est une alternative de contrôle à distance open source complète pour l'auto-hébergement et la sécurité avec une configuration minimale.
|
6
doc/POST_INSTALL.md
Normal file
6
doc/POST_INSTALL.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
Credentials to use in Settings -> Network
|
||||||
|
|
||||||
|
ID Server: __DOMAIN__
|
||||||
|
Relay Server: __DOMAIN__
|
||||||
|
API Server: https://__DOMAIN__
|
||||||
|
key: __KEY__
|
6
doc/POST_INSTALL_fr.md
Normal file
6
doc/POST_INSTALL_fr.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
Informations d'identification à utiliser dans Paramètres -> Réseau
|
||||||
|
|
||||||
|
Serveur ID : __DOMAIN__
|
||||||
|
Serveur relais : __DOMAIN__
|
||||||
|
Serveur API : https://__DOMAIN__
|
||||||
|
Key : __KEY__
|
|
@ -34,10 +34,6 @@ ram.runtime = "50M"
|
||||||
[install.domain]
|
[install.domain]
|
||||||
type = "domain"
|
type = "domain"
|
||||||
|
|
||||||
[install.init_main_permission]
|
|
||||||
type = "group"
|
|
||||||
default = "visitors"
|
|
||||||
|
|
||||||
[resources]
|
[resources]
|
||||||
|
|
||||||
[resources.sources]
|
[resources.sources]
|
||||||
|
@ -57,6 +53,8 @@ ram.runtime = "50M"
|
||||||
|
|
||||||
[resources.permissions]
|
[resources.permissions]
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
|
main.show_tile = false
|
||||||
|
main.allowed = "visitors"
|
||||||
|
|
||||||
[resources.ports]
|
[resources.ports]
|
||||||
api.default = 21114
|
api.default = 21114
|
||||||
|
|
|
@ -1,43 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# GENERIC STARTING
|
|
||||||
#=================================================
|
|
||||||
# IMPORT GENERIC HELPERS
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
source _common.sh
|
|
||||||
source /usr/share/yunohost/helpers
|
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# STANDARD MODIFICATIONS
|
|
||||||
#=================================================
|
|
||||||
# STOP SYSTEMD SERVICE
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Stopping a systemd service..." --weight=1
|
|
||||||
|
|
||||||
ynh_systemd_action --service_name=rustdeskrelay --action="stop" --log_path="systemd"
|
|
||||||
ynh_systemd_action --service_name=rustdesksignal --action="stop" --log_path="systemd"
|
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# MODIFY URL IN NGINX CONF
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
|
|
||||||
|
|
||||||
#ynh_change_url_nginx_config
|
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# GENERIC FINALISATION
|
|
||||||
#=================================================
|
|
||||||
# START SYSTEMD SERVICE
|
|
||||||
#=================================================
|
|
||||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
|
||||||
|
|
||||||
ynh_systemd_action --service_name=rustdeskrelay --action="start" --log_path="systemd"
|
|
||||||
ynh_systemd_action --service_name=rustdesksignal --action="start" --log_path="systemd"
|
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# END OF SCRIPT
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
ynh_script_progression --message="Change of URL completed for $app" --last
|
|
|
@ -56,6 +56,7 @@ ynh_systemd_action --service_name=rustdeskrelay --action="start" --log_path="sys
|
||||||
ynh_systemd_action --service_name=rustdesksignal --action="start" --log_path="systemd"
|
ynh_systemd_action --service_name=rustdesksignal --action="start" --log_path="systemd"
|
||||||
|
|
||||||
key=$(cat "$install_dir/id_ed25519.pub")
|
key=$(cat "$install_dir/id_ed25519.pub")
|
||||||
|
ynh_app_setting_set --app=$app --key=key --value=$key
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
|
@ -8,5 +8,5 @@ test_format = 1.0
|
||||||
# Tests to run
|
# Tests to run
|
||||||
# ------------
|
# ------------
|
||||||
|
|
||||||
#exclude = ["change_url", "install.nourl"]
|
exclude = ["change_url"] #"install.nourl"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue