mirror of
https://github.com/YunoHost-Apps/rustdesk-server_ynh.git
synced 2024-09-03 20:16:24 +02:00
fix
This commit is contained in:
parent
cb4e2c305c
commit
efc2182b1e
4 changed files with 13 additions and 44 deletions
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__
|
|
@ -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
|
|
|
@ -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