You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
1.2 KiB

4 years ago
[program:ttyd]
4 years ago
#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'
4 years ago
#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"
4 years ago
stdout_logfile=/var/log/ttyd.log
autorestart=true
4 years ago
[program:pm2]
4 years ago
environment =
NODE_PATH=/home/node/playground-myexample-nodejs/swarmlab-app/src/node_modules,
myTEST=bar
4 years ago
command=bash -c 'sleep 5 && /home/%(ENV_USER)s/crond/playground-npm-run.sh '
4 years ago
user=node
4 years ago
stdout_logfile=/var/log/pm2.log
autorestart=true
4 years ago
[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