Update install.sh

This commit is contained in:
dinger1986 2023-07-05 22:46:01 +01:00 committed by GitHub
parent 0e5dc2724e
commit 7890277f2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# This script will do the following to install RustDesk Pro # This script will do the following to install RustDesk Server Pro
# 1. Install some dependencys # 1. Install some dependencies
# 2. Setup ufw firewall if available # 2. Setup ufw firewall if available
# 3. Create 2 Folders /var/lib/rustdesk-server and /var/log/rustdesk-server # 3. Create 2 Folders /var/lib/rustdesk-server and /var/log/rustdesk-server
# 4. Download and extract RustDesk Pro Services to the above folder # 4. Download and extract RustDesk Pro Services to the above folder
@ -164,8 +164,8 @@ WorkingDirectory=/var/lib/rustdesk-server/
User=${uname} User=${uname}
Group=${uname} Group=${uname}
Restart=always Restart=always
StandardOutput=append:/var/log/rustdesk-server/rustdeskhbbs.log StandardOutput=append:/var/log/rustdesk-server/hbbs.log
StandardError=append:/var/log/rustdesk-server/rustdeskhbbs.error StandardError=append:/var/log/rustdesk-server/hbbs.error
# Restart service after 10 seconds if node service crashes # Restart service after 10 seconds if node service crashes
RestartSec=10 RestartSec=10
[Install] [Install]
@ -189,8 +189,8 @@ WorkingDirectory=/var/lib/rustdesk-server/
User=${uname} User=${uname}
Group=${uname} Group=${uname}
Restart=always Restart=always
StandardOutput=append:/var/log/rustdesk-server/rustdeskhbbr.log StandardOutput=append:/var/log/rustdesk-server/hbbr.log
StandardError=append:/var/log/rustdesk-server/rustdeskhbbr.error StandardError=append:/var/log/rustdesk-server/hbbr.error
# Restart service after 10 seconds if node service crashes # Restart service after 10 seconds if node service crashes
RestartSec=10 RestartSec=10
[Install] [Install]