From 39bdf22b07265e6f9372d36129a64a9affcad5ae Mon Sep 17 00:00:00 2001 From: zeus Date: Sun, 22 Nov 2020 01:21:12 +0200 Subject: [PATCH] set --- supervisord-iot.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/supervisord-iot.conf b/supervisord-iot.conf index f6ca032..d747f32 100644 --- a/supervisord-iot.conf +++ b/supervisord-iot.conf @@ -8,6 +8,7 @@ autorestart=true [program:pm2] #command=bash -c 'sleep 5 && pm2-runtime /home/%(ENV_USER)s/crond/playground.config.js ' command=bash -c 'sleep 5 && /home/%(ENV_USER)s/crond/playground-npm-run.sh ' +user=node stdout_logfile=/var/log/pm2.log autorestart=true