mirror of
https://github.com/bewcloud/bewcloud.git
synced 2026-03-11 08:54:49 +00:00
Remove unnecessary comments
This commit is contained in:
parent
fbee0f3774
commit
b50a4d7ac4
1 changed files with 1 additions and 2 deletions
|
|
@ -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 doesn’t 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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue