Remove no longer needed restriction about process id 1

This commit is contained in:
Jan Oberhauser 2019-09-03 13:42:43 +02:00
parent 83826000d3
commit d53ab0bb6e
2 changed files with 0 additions and 8 deletions

View file

@ -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 \

View file

@ -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 {