wtt-connect 0.2.52 → 0.2.53
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/package.json +1 -1
- package/src/service-manager.js +1 -2
package/package.json
CHANGED
package/src/service-manager.js
CHANGED
|
@@ -274,8 +274,7 @@ function restartCloudSandboxEntry(entry) {
|
|
|
274
274
|
`export PATH=${shellQuote(runtimePath())}`,
|
|
275
275
|
`mkdir -p ${shellQuote(entry.workDir)} ${shellQuote(path.dirname(entry.pidFile))} ${shellQuote(path.dirname(entry.logFile))}`,
|
|
276
276
|
`cd ${shellQuote(entry.workDir)}`,
|
|
277
|
-
`nohup ${shellQuote(process.execPath)} ${shellQuote(bin)} start --env-file ${shellQuote(entry.envFile)} >> ${shellQuote(entry.logFile)} 2>&1 < /dev/null
|
|
278
|
-
`echo $! > ${shellQuote(entry.pidFile)}`,
|
|
277
|
+
`nohup ${shellQuote(process.execPath)} ${shellQuote(bin)} start --env-file ${shellQuote(entry.envFile)} >> ${shellQuote(entry.logFile)} 2>&1 < /dev/null & echo $! > ${shellQuote(entry.pidFile)}`,
|
|
279
278
|
].join('; ');
|
|
280
279
|
const result = spawnSync('bash', ['-lc', script], { encoding: 'utf8' });
|
|
281
280
|
if (result.status !== 0) {
|