mirror of
https://github.com/AuxXxilium/docker-ddns-server.git
synced 2024-11-23 14:50:59 +07:00
Update setup.sh
This commit is contained in:
parent
c60db60647
commit
13f52a4bd8
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
[ -z "$DDNS_ADMIN_LOGIN" ] && echo "DDNS_ADMIN_LOGIN not set" && exit 1;
|
||||
#[ -z "$DDNS_ADMIN_LOGIN" ] && echo "DDNS_ADMIN_LOGIN not set" && exit 1;
|
||||
[ -z "$DDNS_DOMAINS" ] && echo "DDNS_DOMAINS not set" && exit 1;
|
||||
[ -z "$DDNS_PARENT_NS" ] && echo "DDNS_PARENT_NS not set" && exit 1;
|
||||
[ -z "$DDNS_DEFAULT_TTL" ] && echo "DDNS_DEFAULT_TTL not set" && exit 1;
|
||||
@ -48,4 +48,4 @@ done
|
||||
chown root:bind /var/cache/bind
|
||||
chown bind:bind /var/cache/bind/*
|
||||
chmod 770 /var/cache/bind
|
||||
chmod 644 /var/cache/bind/*
|
||||
chmod 644 /var/cache/bind/*
|
||||
|
Loading…
Reference in New Issue
Block a user