Add rustdeck-server
This commit is contained in:
parent
f7730928e4
commit
81f42e2ee2
12 changed files with 58 additions and 2 deletions
18
README.MD
18
README.MD
|
@ -57,6 +57,7 @@ To enter in temporary filesystem
|
|||
- [mautrix-whatsapp](#mautrix-whatsapp) ([site](https://docs.mau.fi/bridges/go/whatsapp/index.html)) ([src](https://github.com/mautrix/whatsapp))
|
||||
- [metabase](#metabase) ([site](https://www.metabase.com/)) ([src](https://github.com/metabase/metabase))
|
||||
- [rss-bridge](#rss-bridge) ([site](https://github.com/rss-bridge/rss-bridge)) ([src](https://github.com/RSS-Bridge/rss-bridge))
|
||||
- [rustdesk-server](#rustdesk-server) ([site](https://rustdesk.com/)) ([src](https://github.com/rustdesk/rustdesk-server))
|
||||
- [tt-rss](#tt-rss) ([site](https://tt-rss.org/)) ([src](https://git.tt-rss.org/fox/tt-rss))
|
||||
- [vaultwarden and vaultwarden-web](#vaultwarden-and-vaultwarden-web) ([site](https://github.com/dani-garcia/vaultwarden)) ([src](https://github.com/dani-garcia/vaultwarden))
|
||||
- [wallabag](#wallabag) ([site](https://www.wallabag.it/)) ([src](https://github.com/wallabag/wallabag))
|
||||
|
@ -262,6 +263,23 @@ a2ensite rss-bridge
|
|||
systemctl restart apache2
|
||||
```
|
||||
|
||||
#### rustdesk-server
|
||||
```bash
|
||||
apt install -y wget ca-certificates
|
||||
wget -qO - https://deb.lgy.fr/install.sh | bash
|
||||
apt-get update
|
||||
|
||||
#On Rendez-vous server
|
||||
apt-get install -y rustdesk-server-hbbs
|
||||
# edit /etc/default/hbbs
|
||||
systemctl enable --now hbbs
|
||||
|
||||
#On Relay server
|
||||
apt-get install -y rustdesk-server-hbbr
|
||||
# edit /etc/default/hbbr
|
||||
systemctl enable --now hbbr
|
||||
```
|
||||
|
||||
#### tt-rss
|
||||
```bash
|
||||
apt install -y wget ca-certificates
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
/etc/default/hbbr
|
||||
/var/lib/hbbr/blacklist.txt
|
||||
/var/lib/hbbr/blocklist.txt
|
|
@ -0,0 +1,7 @@
|
|||
#DOWNGRADE_THRESHOLD=0.66
|
||||
#DOWNGRADE_START_CHECK=1800s
|
||||
#LIMIT_SPEED=4Mb/s
|
||||
#TOTAL_BANDWIDTH=1024Mb/s
|
||||
#SINGLE_BANDWIDTH=16Mb/s
|
||||
#KEY=
|
||||
#PORT=21117
|
2
ressources/rustdesk-server/rustdesk-server-hbbr/usr/bin/hbbr-service
Executable file
2
ressources/rustdesk-server/rustdesk-server-hbbr/usr/bin/hbbr-service
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/env bash
|
||||
/usr/bin/hbbr $([ "" != "$KEY" ] && echo --key $KEY) $([ "" != "$PORT" ] && echo --port $PORT)
|
|
@ -6,7 +6,8 @@ After=network.target
|
|||
[Service]
|
||||
User=hbbr
|
||||
Group=hbbr
|
||||
ExecStart=/usr/bin/hbbr
|
||||
EnvironmentFile=/etc/default/hbbr
|
||||
ExecStart=/usr/bin/hbbr-service
|
||||
PrivateTmp=true
|
||||
PrivateDevices=true
|
||||
ProtectHome=true
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
/etc/default/hbbs
|
|
@ -0,0 +1,12 @@
|
|||
#TEST_HBBS=
|
||||
#ALWAYS_USE_RELAY=N
|
||||
#MAX_DATABASE_CONNECTIONS
|
||||
#DB_URL=./db_v2.sqlite3
|
||||
#CONFIG_FILE=
|
||||
#PORT=21116
|
||||
#RELAY_SERVERS=
|
||||
#RENDEZVOUS_SERVER=rs-ny.rustdesk.com,rs-sg.rustdesk.com,rs-cn.rustdesk.com
|
||||
#SERIAL=0
|
||||
#SOFTWARE_URL=
|
||||
#KEY=
|
||||
|
10
ressources/rustdesk-server/rustdesk-server-hbbs/usr/bin/hbbs-service
Executable file
10
ressources/rustdesk-server/rustdesk-server-hbbs/usr/bin/hbbs-service
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/env bash
|
||||
/usr/bin/hbbs \
|
||||
$([ "" != "$KEY" ] && echo --key $KEY) \
|
||||
$([ "" != "$RELAY_SERVERS" ] && echo --relay-servers $RELAY_SERVERS) \
|
||||
$([ "" != "$PORT" ] && echo --port $PORT) \
|
||||
$([ "" != "$CONFIG_FILE" ] && echo --config $CONFIG_FILE) \
|
||||
$([ "" != "$SERIAL" ] && echo --serial $SERIAL) \
|
||||
$([ "" != "$SOFTWARE_URL" ] && echo --software-url $SOFTWARE_URL) \
|
||||
$([ "" != "$RENDEZVOUS_SERVER" ] && echo --rendezvous-servers $RENDEZVOUS_SERVER) \
|
||||
$([ "" != "$CONFIG_FILE" ] && echo --config $CONFIG_FILE)
|
|
@ -6,7 +6,8 @@ After=network.target
|
|||
[Service]
|
||||
User=hbbs
|
||||
Group=hbbs
|
||||
ExecStart=/usr/bin/hbbs
|
||||
EnvironmentFile=/etc/default/hbbs
|
||||
ExecStart=/usr/bin/hbbs-service
|
||||
PrivateTmp=true
|
||||
PrivateDevices=true
|
||||
ProtectHome=true
|
||||
|
|
1
ressources/vaultwarden/rootfs/usr/vaultwarden
Symbolic link
1
ressources/vaultwarden/rootfs/usr/vaultwarden
Symbolic link
|
@ -0,0 +1 @@
|
|||
/home/thomas/wks/git/debmaker/ressources/vaultwarden
|
Loading…
Reference in a new issue