bin/gua.ts: set LimitSTACK = infinity

This commit is contained in:
2025-07-27 15:56:40 +08:00
parent 8e489591d8
commit 637c12192e

View File

@@ -10,6 +10,7 @@ const uuid = randomUUID()
spawn("systemd-run",
[
`--working-directory=${path.resolve(process.cwd())}`,
`--property=LimitSTACK=infinity`,
...systemdRunOptions({
user: true,
unit: uuid,
@@ -20,4 +21,4 @@ spawn("systemd-run",
console.log(`Service started as ID: ${uuid}, command suggest:`)
console.log(chalk.red(` systemctl --user status ${uuid}`))
console.log(chalk.red(` journalctl --user -xeu ${uuid}`))
console.log(chalk.red(` journalctl --user -xeu ${uuid}`))