Use absolute path for serve binary in PM2 config
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
apps: [
|
apps: [
|
||||||
{
|
{
|
||||||
name: 'otivm',
|
name: 'otivm',
|
||||||
script: 'serve',
|
script: '/home/otivm/.npm-global/bin/serve',
|
||||||
args: 'dist -l 3000 -s',
|
args: 'dist -l 3000 -s',
|
||||||
cwd: '/home/otivm/OTIVM',
|
cwd: '/home/otivm/OTIVM',
|
||||||
interpreter: 'none',
|
interpreter: 'none',
|
||||||
|
|||||||
Reference in New Issue
Block a user