From 9f757bdae38f53aec7729f9dd6df01f035b834ee Mon Sep 17 00:00:00 2001 From: dinger1986 Date: Sat, 15 Jul 2023 09:40:51 +0100 Subject: [PATCH] Update _index.en.md --- content/self-host/pro/installscript/_index.en.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/content/self-host/pro/installscript/_index.en.md b/content/self-host/pro/installscript/_index.en.md index 55e5937..acab063 100644 --- a/content/self-host/pro/installscript/_index.en.md +++ b/content/self-host/pro/installscript/_index.en.md @@ -19,7 +19,7 @@ What it does: - Setup UFW firewall if available - Create a working directory /var/lib/rustdesk-server and log directory /var/log/rustdesk-server - Installs executables into /usr/bin -- Download and extract RustDesk Pro Services to the above folder +- Download and extract RustDesk Pro Services to the above folder (service names are rustdesk-hbbs.service and rustdesk-hbbr.service) - Create systemd services for hbbs and hbbr - If you chose Domain, it will install Nginx and certbot, allowing the API to be available on port 443 (https) and get an SSL certificate over port 80, this will autorenew @@ -48,5 +48,16 @@ What it does: - Create a Folder /var/lib/rustdesk-server and copy the certs here - Delete /var/log/rustdesk and create /var/log/rustdesk-server - Download and extract RustDesk Pro Services to the above folder -- Create systemd services for hbbs and hbbr +- Create systemd services for hbbs and hbbr (service names are rustdesk-hbbs.service and rustdesk-hbbr.service) - If you chose Domain, it will install Nginx and certbot, allowing the API to be available on port 443 (https) and get an SSL certificate over port 80, this will autorenew. + +## FAQ for Scripts + +Q - How do I start and stop services? +A - The services use systemd so can be started and stopped using `sudo systemctl stop|start|restart rustdesk-hbbs|rustdesk-hbbr` eg `sudo systemctl restart rustdesk-hbbs` + +Q - How do I view the linux logs +A - The logs are stored in /var/log/rustdesk-server/, you can view them using `cat /var/log/rustdesk-server/hbbs.log` or `cat /var/log/rustdesk-server/hbbs.error`. + +Q - How do I check the status of the RustDesk services +A - To check the status `sudo systemctl status rustdesk-hbbs|rustdesk-hbbr` eg `sudo systemctl status rustdesk-hbbs`