@syengup/friday-channel-next 0.0.34 → 0.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/install.js +2 -2
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -332,12 +332,12 @@ if (sudoUser) {
|
|
|
332
332
|
|
|
333
333
|
log("Restarting OpenClaw gateway...");
|
|
334
334
|
try {
|
|
335
|
-
const out = execSync(`${openclawCmd} gateway restart`, { encoding: "utf8", stdio: "pipe" });
|
|
335
|
+
const out = execSync(`${openclawCmd} gateway restart`, { encoding: "utf8", stdio: "pipe", timeout: 15000 });
|
|
336
336
|
if (out.trim()) console.log(out.trim());
|
|
337
337
|
} catch (e) {
|
|
338
338
|
if (e.stdout?.trim()) console.log(e.stdout.trim());
|
|
339
339
|
if (e.stderr?.trim()) console.error(e.stderr.trim());
|
|
340
|
-
warn("Gateway restart failed. The plugin files are installed but the gateway
|
|
340
|
+
warn("Gateway restart failed or timed out. The plugin files are installed but the gateway may not have restarted.");
|
|
341
341
|
warn("Check 'openclaw gateway status' and restart manually: openclaw gateway restart");
|
|
342
342
|
}
|
|
343
343
|
|