<feed xmlns='http://www.w3.org/2005/Atom'>
<title>console.git/.githooks, branch master</title>
<subtitle>Monitor for my server
</subtitle>
<id>http://cgit.dandokmang.com/console.git/atom?h=master</id>
<link rel='self' href='http://cgit.dandokmang.com/console.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/console.git/'/>
<updated>2026-07-01T07:37:19Z</updated>
<entry>
<title>Mark .githooks/pre-commit itself executable</title>
<updated>2026-07-01T07:37:19Z</updated>
<author>
<name>batsumaru</name>
<email></email>
</author>
<published>2026-07-01T07:37:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/console.git/commit/?id=379c858b8caedd81172bef94818287c973571a6f'/>
<id>urn:sha1:379c858b8caedd81172bef94818287c973571a6f</id>
<content type='text'>
It doesn't match the *.sh glob the hook fixes up, so it committed as
100644 in the previous commit - harmless on this Windows checkout, but
a fresh clone on a real Unix filesystem would get it non-executable
and the hook would silently never run.

Co-Authored-By: Claude Sonnet 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Add ntpd/clock-sync check and a pre-commit hook for exec bits</title>
<updated>2026-07-01T07:36:55Z</updated>
<author>
<name>batsumaru</name>
<email></email>
</author>
<published>2026-07-01T07:36:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.dandokmang.com/console.git/commit/?id=689ca3bdadc00015d5aedd81f76fd0950777f1ef'/>
<id>urn:sha1:689ca3bdadc00015d5aedd81f76fd0950777f1ef</id>
<content type='text'>
checks/ntpd.sh reports whether ntpd is running and whether the clock's
offset is within tolerance (ok &lt;50ms, warn &lt;200ms, down beyond that or
if ntpq doesn't respond) - clock drift is a silent failure that
otherwise only surfaces later as TLS handshake failures or misleading
cross-jail log timestamps.

Also add .githooks/pre-commit + core.hooksPath, since this checkout is
on Windows where core.fileMode is false (the filesystem doesn't
reliably preserve the executable bit) - without it, a plain `git add`
on a new check script silently stages it as non-executable, and
render.sh skips non-executable files with no visible error.

Co-Authored-By: Claude Sonnet 5 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
