n-connect / rustd-hbbx

FreeBSD build for rustdesk-server, till the auto build/release works
GNU Affero General Public License v3.0
0 stars 0 forks source link

rustd-hbbx

FreeBSD build for rustdesk-server, till the auto build/release works

The tar.gz file contains the rustdesk-servers hbbs & hbbr binaries, the rustdesk-utils, plus the rcd scripts expecting the below details (home dir & service user). The tar.gz file has the full path from root, extract it with -C / option to do extract from root dir.

Necessary commands:

Service user - pw adduser rustdesk -d /nonexistent -s /usr/sbin/nologin -c "Rustdesk Server user"

Running directory - mkdir /var/lib/rustdesk-server (Your certificates and database files should be created/exist there)

Ownership - chown -R rustdesk:rustdesk /var/lib/rustdesk-server/

Rights - chmod -R 660 /var/lib/rustdesk-server/ If you want to minimmize group rights 640 should be ok as well

Edit in your IP - vim /usr/local/etc/rc.d/rustdesk-hbbs modify the line with "rustdesk_hbbsargs:="-r x.y.v.w -k "

After all the above done, you should be able to start them with service onestart rustdesk-hbbs;service onestart rustdesk-hbbr until you enable the service in /etc/rc.conf