chown config for safety

This commit is contained in:
thespad 2024-07-02 20:55:47 +01:00
parent 7d1e676616
commit ba309a2673
No known key found for this signature in database
GPG Key ID: 08F06191F4587860

View File

@ -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"