fix: tsdns init script
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/sbin/openrc-run
|
||||
|
||||
depend() {
|
||||
need auth-server docker
|
||||
need auth-server docker tsdns
|
||||
}
|
||||
|
||||
command="/usr/bin/bubble"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
if [ ! docker network insepct "workspace" ]; then
|
||||
if ! docker network inspect "workspace" ; then
|
||||
docker network create \
|
||||
--attachable \
|
||||
--ipv4 \
|
||||
@@ -17,7 +17,7 @@ docker run -e "TS_AUTHKEY=_TS_AUTHKEY_" \
|
||||
-e "ADVERTISE_ROUTE=_ADVERTISE_ROUTE_" \
|
||||
-e "TS_DEBUG_OMIT_LOCAL_ADDRS=true" \
|
||||
--network "workspace" \
|
||||
-p 41641:41641/udp
|
||||
-v "/data/tsdns:/tstate"
|
||||
--restart unless-stopped
|
||||
-p 41641:41641/udp \
|
||||
-v "/data/tsdns:/tstate" \
|
||||
--restart unless-stopped \
|
||||
ghcr.io/saltedfishclub/tsdns:latest
|
||||
|
||||
Reference in New Issue
Block a user