Koozali.org: home of the SME Server

Obsolete Releases => SME 8.x Contribs => Topic started by: soundrolf on August 07, 2014, 04:13:31 PM

Title: [solved] ddclient template
Post by: soundrolf on August 07, 2014, 04:13:31 PM
/etc/ddclient.conf

protocol=dyndns2
use=web
web=checkip.spdns.de
server=update.spdns.de
ssl=no
login=USERNAME
password='PASSWORD'
HOSTNAME.spdns.de


This is what I need. It works for me.
Is there a way to do it with a template, because otherwise after an update this file will be overwritten.
I made a copy of this file in /root . So I can copy it back to /etc after update. But this is not a good solution.

SME Server 8.1

Thanks
Title: Re: ddclient template
Post by: Arnie on August 08, 2014, 02:54:42 AM
cp /etc/ddclient.conf /etc/e-smith/templates-custom/etc/ddclient.conf/10ddclientconfig

Then do:

expand-template /etc/ddclient.conf

whenever you need to regenerate it.
Title: Re: ddclient template
Post by: soundrolf on August 08, 2014, 01:40:32 PM
Thank you

Rolf