mirror of
https://github.com/linuxserver/docker-ddclient.git
synced 2026-02-20 03:15:49 +08:00
chown config for safety
This commit is contained in:
parent
7d1e676616
commit
ba309a2673
@ -3,6 +3,7 @@
|
||||
|
||||
# starting inotify to watch /config/ddclient.conf and restart ddclient if changed.
|
||||
while inotifywait -e modify /config/ddclient.conf; do
|
||||
lsiown abc:abc /config/ddclient.conf
|
||||
chmod 600 /config/ddclient.conf
|
||||
s6-svc -h /run/service/svc-ddclient
|
||||
echo "ddclient has been restarted"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user