9
Ich habe eine einfache Frage. Wie sieht eine Supervisord-Konfiguration aus, um eine Express-App zu starten?Wie "npm Start" mit Supervisord?
[supervisord]
nodaemon=true
[program:sshd]
command=/usr/sbin/sshd -D
[programm:api]
directory=/var/www/my_api
command=npm start
Ich habe auch versucht mit:
[programm:api]
command=node /var/www/my_api/app.js
aber es nicht startet und keine Fehler protokolliert werden. Irgendwelche Ideen?
Startet sshd? – Vinz243