Skip to content

Commit

Permalink
pm2
Browse files Browse the repository at this point in the history
  • Loading branch information
sinamics committed Dec 10, 2023
1 parent bb25b8a commit a8899ae
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/ztnet/ecosystem.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
apps: [
{
name: 'ztnet.network',
script: './start.sh',
log_date_format: 'YYYY-MM-DD HH:mm Z',
env: {
NODE_ENV: 'production',
},
},
],
};
3 changes: 3 additions & 0 deletions docs/ztnet/start.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

npm run serve

0 comments on commit a8899ae

Please sign in to comment.