FYI, this is running as a service. the service file looks like:
[Unit] Description=jsreport After=network.target [Service] Type=simple User=www-data Group=www-data WorkingDirectory=/opt/jsreport ExecStart=/usr/bin/jsreport start Restart=on-failure Environment="NODE_ENV=production" [Install] WantedBy=multi-user.targetgeneral forum