@PitaJ thanks. I need to install it on Heroku and it doesn't have nginx now. I know I have a long road ahead, but I think I found the direction.
Having this issues since yesterday. Whenever I try to start the server:
sudo systemctl start nodebb.service
sudo systemctl status nodebb.service
I will get NodeBB start request repeated too quickly and the server will fail to start.
This is my systemd unit file.
[Unit] Description=NodeBB forum for Node.js. Documentation=http://nodebb.readthedocs.io/en/latest/ After=system.slice multi-user.target [Service] Type=simple User=nodebb StandardOutput=syslog StandardError=syslog SyslogIdentifier=nodebb Environment=NODE_ENV=production WorkingDirectory=/opt/nodebb ExecStart=/usr/bin/node loader.js --no-daemon --no-silent Restart=always [Install] WantedBy=multi-user.target