3
This commit is contained in:
parent
43d04f066b
commit
30196e1a78
4
Makefile
4
Makefile
@ -12,6 +12,7 @@ install-rustdek:
|
|||||||
mkdir -p /var/log/rustdesk
|
mkdir -p /var/log/rustdesk
|
||||||
|
|
||||||
install-services:
|
install-services:
|
||||||
|
cp -vf sysconfig-hbbs /etc/default/hbbs
|
||||||
cp -vf hbbr.service /etc/systemd/system/
|
cp -vf hbbr.service /etc/systemd/system/
|
||||||
cp -vf hbbs.service /etc/systemd/system/
|
cp -vf hbbs.service /etc/systemd/system/
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
@ -40,7 +41,8 @@ status:
|
|||||||
|
|
||||||
cleanup-old-settings:
|
cleanup-old-settings:
|
||||||
rm -vf /opt/rustdesk/db_v2.*
|
rm -vf /opt/rustdesk/db_v2.*
|
||||||
|
rm -vf /etc/default/hbbs
|
||||||
|
|
||||||
cleanup-old-keys:
|
cleanup-old-keys:
|
||||||
rm -vf /opt/rustdesk/id_ed25519*
|
rm -vf /opt/rustdesk/id_ed25519*
|
||||||
|
|
||||||
|
@ -8,11 +8,7 @@ LimitNOFILE=1000000
|
|||||||
User=root
|
User=root
|
||||||
Group=root
|
Group=root
|
||||||
|
|
||||||
Environment="ALWAYS_USE_RELAY=Y"
|
EnvironmentFile=/etc/default/hbbs
|
||||||
Environment="RELAY_SERVERS=rd.ngtech.co.il"
|
|
||||||
|
|
||||||
#Environment="KEY_PRIV=private_key_text"
|
|
||||||
#Environment="KEY_PUB=pub_key_text"
|
|
||||||
|
|
||||||
WorkingDirectory=/opt/rustdesk/
|
WorkingDirectory=/opt/rustdesk/
|
||||||
ExecStart=/opt/rustdesk/hbbs -k _
|
ExecStart=/opt/rustdesk/hbbs -k _
|
||||||
|
2
sysconfig-hbbs
Normal file
2
sysconfig-hbbs
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
ALWAYS_USE_RELAY=Y
|
||||||
|
RELAY_SERVERS=rd.ngtech.co.il
|
Loading…
Reference in New Issue
Block a user