Add some supervisor/ forever scripts to samples/project
or any related documentation of how to use them, so the user knows how to start/stop the background process.
Comments (11)
-
-
reporter What do you mean by "crash"? can you post the error? thanks
-
Sorry it crashed by too much informix connection open.
Do you mind if you write step by step guide to deploy atlasboard using forever or supervisord
Thank you.
-
reporter This is how we start it:
forever start ../atlasboard/lib/cli/cli.js start 4444
and how we stop the process:
forever stop /Users/atlassian/atlasboard-host/atlasboard/lib/cli/cli.js
We didn't need to configure any --minUptime, --spinSleepTime but you probably need to!
-
Thank you, let me try it .. :D
-
this my current dir:
assets config globalAuth.json.sample Gruntfile.js node_modules package.json packages README.md
i try and run the script like this but it says could'nt find valid atlasboard dashboard
forever /usr/lib/node_modules/atlasboard/lib/cli/cli.js start 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 I couldn't find a valid AtlasBoard dashboard. Try generating one with `atlasboard new DASHBOARDNAME`. error: Forever detected script exited with code: 0
but when i try to run without forever it's success
me@host$ /usr/lib/node_modules/atlasboard/lib/cli/cli.js start Checking npm dependencies for /home/nasa/kantor/cisco_uccx/ccrwallboard/packages/default... AtlasBoard server started. Go to: http://localhost:3000 to access your dashboard
thank you
-
reporter do you have any dashboard in the wallboard project you are running the command from?
-
Yes, if without forever the wallboard can start
-
reporter Did you have a try to
forever start -c "npm start" ./
?
your wallboard package.json would contain:
"scripts": { "start":"atlasboard start" }
-
reporter - changed status to resolved
-
I've been using supervisor for this: cat /etc/supervisor/conf.d/atlasboard.conf
[program:atlasboard] command=atlasboard start autorestart=true directory=/var/dashicorn
then "sudo service supervisor restart" to load the new config
then "supervisorctl restartall" when you want to re-start the board.
- Log in to comment
Hello ivan, i'm trying to use atlasboard that connected to cisco ccx informix, i'm using no hup for start atlasboard as daemon. but, every time connection to informix get lost my atlasboard crash and stop.
how do i deploy atlasboard to production server?,
thank you.