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

@ -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]
User=hbbr
Group=hbbr
ExecStart=/usr/bin/hbbr
EnvironmentFile=/etc/default/hbbr
ExecStart=/usr/bin/hbbr-service
PrivateTmp=true
PrivateDevices=true
ProtectHome=true