maddox / harmony-api

🗼 A simple server allowing you to query/control multiple local Harmony Home Hubs over HTTP or MQTT
MIT License
393 stars 115 forks source link

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

Open wayner9 opened 6 years ago

wayner9 commented 6 years ago

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?

svenove commented 6 years ago

See issue #33.

wayner9 commented 6 years ago

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