Remove unnecessary comments

This commit is contained in:
Bruno Bernardino 2026-01-02 10:14:33 +00:00
parent fbee0f3774
commit b50a4d7ac4
No known key found for this signature in database
GPG key ID: D1B0A69ADD114ECE

View file

@ -8,10 +8,9 @@ const isBuildMode = Deno.args.includes('build');
async function notifyServiceManagerReady() {
const socketAddress = Deno.env.get('NOTIFY_SOCKET');
if (typeof socketAddress !== 'string') {
return; // Service manager doesnt expect any messages
return;
}
// Send message using `systemd-notify` util until the native Deno APIs become stable
const result = await (new Deno.Command('systemd-notify', {
args: ['--ready', `MESSAGE=bewCloud is ready`],
})).output();