mirror of
https://github.com/linuxserver/docker-ddclient.git
synced 2026-02-20 03:15:49 +08:00
Merge pull request #2 from tobbenb/cpconf
Copy config to correct location on start
This commit is contained in:
commit
09a2c678bf
@ -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