Skip to content

Commit a5eb759

Browse files
committed
fix(pm2): change name without spaces
1 parent d5474a7 commit a5eb759

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

ecosystem.config.js

+17-18
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
module.exports = {
2-
apps: [
3-
{
4-
name: "Waterbus Server API",
5-
script: "dist/main.js",
6-
instances: "max", // can set is "max" for using max of processors
7-
autorestart: true,
8-
watch: false,
9-
max_memory_restart: "2G",
10-
exec_mode: "cluster",
11-
env: {
12-
NODE_ENV: "production",
13-
},
14-
error_file: "logs/error.log",
15-
out_file: "logs/out.log",
16-
log_date_format: "YYYY-MM-DD HH:mm:ss",
2+
apps: [
3+
{
4+
name: 'waterbus.server.api',
5+
script: 'dist/main.js',
6+
instances: 'max', // can set is "max" for using max of processors
7+
autorestart: true,
8+
watch: false,
9+
max_memory_restart: '2G',
10+
exec_mode: 'cluster',
11+
env: {
12+
NODE_ENV: 'production',
1713
},
18-
],
19-
};
20-
14+
error_file: 'logs/error.log',
15+
out_file: 'logs/out.log',
16+
log_date_format: 'YYYY-MM-DD HH:mm:ss',
17+
},
18+
],
19+
};

0 commit comments

Comments
 (0)