- Restart service on future package upgrades (still manually needed this
time).
- Don't set service to autostart on "chkconfig --add".
- Fix sysconfig/ddclient permissions.
- Drop non-useful samples.
19 lines
1 KiB
Diff
19 lines
1 KiB
Diff
--- ddclient-3.6.6/ddclient.cache 2005-03-20 13:01:23.000000000 +0200
|
|
+++ ddclient-3.6.6/ddclient 2005-07-30 23:27:07.000000000 +0300
|
|
@@ -23,6 +23,7 @@
|
|
my $now = time;
|
|
my $hostname = hostname();
|
|
my $etc = ($program =~ /test/i) ? './' : '/etc/ddclient/';
|
|
+my $cache = ($program =~ /test/i) ? './' : '/var/cache/';
|
|
my $savedir = ($program =~ /test/i) ? 'URL/' : '/tmp/';
|
|
my $msgs = '';
|
|
my $last_msgs = '';
|
|
@@ -217,7 +218,7 @@
|
|
'global-defaults' => {
|
|
'daemon' => setv(T_DELAY, 0, 0, 1, 0, interval('60s')),
|
|
'file' => setv(T_FILE, 0, 0, 1, "$etc$program.conf", undef),
|
|
- 'cache' => setv(T_FILE, 0, 0, 1, "$etc$program.cache", undef),
|
|
+ 'cache' => setv(T_FILE, 0, 0, 1, "$cache$program.cache", undef),
|
|
'pid' => setv(T_FILE, 0, 0, 1, "", undef),
|
|
'proxy' => setv(T_FQDNP, 0, 0, 1, '', undef),
|
|
'protocol' => setv(T_PROTO, 0, 0, 1, 'dyndns2', undef),
|