mirror of
https://github.com/linuxserver/docker-ddclient.git
synced 2026-02-20 03:15:49 +08:00
Copy config to correct location on start
This commit is contained in:
parent
b7d8a893d7
commit
f26f9b65de
@ -1,5 +1,9 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
# copy config from /config to root
|
||||
[[ -e /config/ddclient.conf ]] && \
|
||||
cp /config/ddclient.conf /ddclient.conf
|
||||
|
||||
# copy default config if not present in /config
|
||||
[[ ! -e /config/ddclient.conf ]] && \
|
||||
cp /defaults/ddclient.conf /config
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user