Time Delta
Lubomir Radev
demond at demond.net
Mon Nov 15 23:41:39 EST 2004
> -----Original Message-----
> From: hybrid-bounces at lists.ircd-hybrid.org [mailto:hybrid-
> bounces at lists.ircd-hybrid.org] On Behalf Of K. Rendrabwana
> Sent: Monday, November 15, 2004 7:54 PM
> To: General IRCD-Hybrid Discussion
> Subject: Re: Time Delta
>
> Hello Lubomir, on Tuesday, November 16, 2004, 5:27:06 AM, you wrote:
>
> > this is insane and effectively defeats the purpose of TS
>
> yup.. running ircd without ntpd is more .. precisely :)
>
it's not his fault, he said he's merely a shell account user
there is another option for tricking the server in thinking it has the right
time: using TZ environment variable, since hybrid uses gettimeofday() which
depends on the timezone info
for example, if his server is in Central Europe and system time is off by 7
hours, he can compensate for that by using:
$ TZ=CET+6 /path/to/ircd
because normally the correct TZ value would be CET-1 (1 hour ahead of UTC);
or CET-8, if the offset is negative
More information about the hybrid
mailing list