kennethrisa / discord-rustserverstatus

Updates activity status on discord bot and displays how many players are connect to your rust server from rest api
MIT License
22 stars 15 forks source link

Usage with forever is not working #54

Open SeDi343 opened 1 year ago

SeDi343 commented 1 year ago

Using forever to start the server prints out this Error:

: discord-rustserverstatus ((v1.2.0)) > forever start ./app.js
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info: Forever processing file: ./app.js
(node:4128881) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use 'node --trace-warnings ...' to show where the warning was created)
(node:4128881) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency

P4R4NORM4L commented 1 year ago

Use pm2 instead

kennethrisa commented 7 months ago

should prob have an example of pm2 and systemctl. will update.