fix: multiple tsdns containers are created
This commit is contained in:
@@ -4,9 +4,5 @@ depend() {
|
||||
need docker net
|
||||
}
|
||||
|
||||
supervisor="supervise-daemon"
|
||||
respawn_delay=5
|
||||
respawn_max=0
|
||||
|
||||
command="/usr/bin/tsdns"
|
||||
pidfile="/run/${RC_SVCNAME}.pid"
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
if ! docker network inspect "workspace" ; then
|
||||
docker network create \
|
||||
--attachable \
|
||||
@@ -23,4 +22,5 @@ docker run -e "TS_AUTHKEY=_TS_AUTHKEY_" \
|
||||
-p 41641:41641/udp \
|
||||
-v "/data/tsdns:/tstate" \
|
||||
--restart unless-stopped \
|
||||
--name "tsdns" \
|
||||
ghcr.io/saltedfishclub/tsdns:latest
|
||||
|
||||
Reference in New Issue
Block a user