Obsolete Releases > SME 8.x Contribs

[solved] ddclient template

(1/1)

soundrolf:
/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

Arnie:
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.

soundrolf:
Thank you

Rolf

Navigation

[0] Message Index

Go to full version