[program:ttyd] #command=bash -c 'sleep 5 && cd /home/node && sudo -u node ttyd --ssl --ssl-cert /home/node/ssl-ttyd/ca.crt --ssl-key /home/mode/ssl-ttyd/ca.key -c user:%(ENV_PASSWORD)s -p 8088 -u node bash' #command=sleep 5 && cd /home/node && su -c 'ttyd --ssl --ssl-cert /home/node/ssl-ttyd/ca.crt --ssl-key /home/node/ssl-ttyd/ca.key -c user:%(ENV_PASSWORD)s -p 8088 -u node bash' - node command=bash -c "sleep 5 && cd /home/node && su -c 'ttyd --ssl --ssl-cert /home/node/ssl-ttyd/ca.crt --ssl-key /home/node/ssl-ttyd/ca.key -c user:%(ENV_PASSWORD)s -p 8088 -u node bash' - node" stdout_logfile=/var/log/ttyd.log autorestart=true [program:pm2] #environment = # NODE_PATH=/home/node/playground-myexample-nodejs/swarmlab-app/src/node_modules, # myTEST=bar command=bash -c "sleep 5 && su -c 'home/%(ENV_USER)s/crond/playground-npm-run.sh' - node " #user=node stdout_logfile=/var/log/pm2.log autorestart=true [program:nginx] command=/usr/sbin/nginx -g "daemon off;" autostart=true autorestart=true startretries=5 #numprocs=1 #startsecs=0 #process_name=%(program_name)s_%(process_num)02d stderr_logfile=/var/log/%(program_name)s_stderr.log stderr_logfile_maxbytes=10MB stdout_logfile=/var/log/%(program_name)s_stdout.log stdout_logfile_maxbytes=10MB