mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
⚡ Remove no longer needed restriction about process id 1
This commit is contained in:
parent
83826000d3
commit
d53ab0bb6e
|
@ -59,7 +59,6 @@ To use it simply start n8n with `--tunnel`
|
|||
```
|
||||
docker run -it --rm \
|
||||
--name n8n \
|
||||
--init \
|
||||
-p 5678:5678 \
|
||||
-v ~/.n8n:/root/.n8n \
|
||||
n8nio/n8n \
|
||||
|
|
|
@ -95,13 +95,6 @@ export class Start extends Command {
|
|||
|
||||
const { flags } = this.parse(Start);
|
||||
|
||||
if (process.pid === 1) {
|
||||
this.error(`The n8n node process should not run as process with ID 1 because that will cause
|
||||
problems with shutting everything down correctly. If started with docker use the
|
||||
flag "--init" to fix this problem!`);
|
||||
return;
|
||||
}
|
||||
|
||||
// Wrap that the process does not close but we can still use async
|
||||
(async () => {
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue