diff --git a/src/freedombone b/src/freedombone index 2909cd99..28426845 100755 --- a/src/freedombone +++ b/src/freedombone @@ -8351,7 +8351,7 @@ function install_dynamicdns { # create a configuration file echo 'period 300' > /etc/inadyn.conf echo 'startup-delay 60' >> /etc/inadyn.conf - echo 'cache-dir /etc/inadyn' >> /etc/inadyn.conf + echo 'cache-dir /run/inadyn' >> /etc/inadyn.conf chmod 600 /etc/inadyn.conf if [ ! -d /etc/inadyn ]; then @@ -8390,8 +8390,8 @@ function install_dynamicdns { echo '' >> /etc/init.d/inadyn echo '# Set defaults values if no DEFAULT exist' >> /etc/init.d/inadyn echo 'RUN_DAEMON="yes"' >> /etc/init.d/inadyn - echo 'USER=root' >> /etc/init.d/inadyn - echo 'GROUP=root' >> /etc/init.d/inadyn + echo 'USER=debian-inadyn' >> /etc/init.d/inadyn + echo 'GROUP=debian-inadyn' >> /etc/init.d/inadyn echo '' >> /etc/init.d/inadyn echo 'DAEMON_ARGS="--pidfile $PIDFILE \' >> /etc/init.d/inadyn echo ' --config $CONFIG \' >> /etc/init.d/inadyn