harmony-api icon indicating copy to clipboard operation
harmony-api copied to clipboard

How do you run in production or install service in Linux?

Open wayner9 opened this issue 7 years ago • 2 comments

The docs mentioning running in dev mode with script/server or installing on OSX with script/install.

But how do you install as a service on Linux - Ubuntu to be more specific?

Or how do you run in production on Linux? For now I have created a file called production that contains: /usr/bin/env forever start config/forever/production.json.

The logging seems extremely verbose as while it is running it is constantly updating the state and writing this to the log file. If you keep this running 24/7 isn't the logs.log file going to get enormous? It seems to me that the log file will grow about 180kB/hour. Is it possible to decrease the verbosity so that only commands are logged?

wayner9 avatar Oct 06 '17 19:10 wayner9

See issue #33.

svenove avatar Oct 07 '17 10:10 svenove

Thanks - why not update the readme to include this info?

wayner9 avatar Oct 08 '17 02:10 wayner9