Skip to content

Commit

Permalink
add config for pm2
Browse files Browse the repository at this point in the history
  • Loading branch information
wesolowski committed Jun 12, 2024
1 parent cb57910 commit ed0e584
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ecosystem.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"apps": [
{
"name": "em2024-api",
"script": "./target/release/em2021-api",
"watch": false,
"autorestart": true,
"restart_delay": 1000,
"log_date_format": "YYYY-MM-DD HH:mm:ss",
"out_file": "/var/log/em2024-api-pm2.log",
"error_file": "/var/log/em2024-api-error-pm2.log",
"max_memory_restart": "500M"
}
]
}

0 comments on commit ed0e584

Please sign in to comment.