Add rustdeck-server

This commit is contained in:
thomas 2022-06-12 20:33:34 +02:00
parent f7730928e4
commit 81f42e2ee2
12 changed files with 58 additions and 2 deletions

View File

@ -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)) - [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)) - [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)) - [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)) - [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)) - [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)) - [wallabag](#wallabag) ([site](https://www.wallabag.it/)) ([src](https://github.com/wallabag/wallabag))
@ -262,6 +263,23 @@ a2ensite rss-bridge
systemctl restart apache2 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 #### tt-rss
```bash ```bash
apt install -y wget ca-certificates apt install -y wget ca-certificates

View File

@ -0,0 +1,3 @@
/etc/default/hbbr
/var/lib/hbbr/blacklist.txt
/var/lib/hbbr/blocklist.txt

View File

@ -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

View File

@ -0,0 +1,2 @@
#!/bin/env bash
/usr/bin/hbbr $([ "" != "$KEY" ] && echo --key $KEY) $([ "" != "$PORT" ] && echo --port $PORT)

View File

@ -6,7 +6,8 @@ After=network.target
[Service] [Service]
User=hbbr User=hbbr
Group=hbbr Group=hbbr
ExecStart=/usr/bin/hbbr EnvironmentFile=/etc/default/hbbr
ExecStart=/usr/bin/hbbr-service
PrivateTmp=true PrivateTmp=true
PrivateDevices=true PrivateDevices=true
ProtectHome=true ProtectHome=true

View File

@ -0,0 +1 @@
/etc/default/hbbs

View File

@ -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=

View 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)

View File

@ -6,7 +6,8 @@ After=network.target
[Service] [Service]
User=hbbs User=hbbs
Group=hbbs Group=hbbs
ExecStart=/usr/bin/hbbs EnvironmentFile=/etc/default/hbbs
ExecStart=/usr/bin/hbbs-service
PrivateTmp=true PrivateTmp=true
PrivateDevices=true PrivateDevices=true
ProtectHome=true ProtectHome=true

View File

@ -0,0 +1 @@
/home/thomas/wks/git/debmaker/ressources/vaultwarden