-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run in background mode? #43
Comments
What is you OS ? Linux or Mac ? |
Should have mentioned. I run it on a RPI model 3, using Raspbian Stretch (full install, although I only use it via ssh). |
You can try |
I suggest either to use https://github.com/Unitech/pm2 (pm2 is quite convenient and easy to use, handles also the logfiles and restarts...) or to create a systemd service (see e.g. http://nodesource.com/blog/running-your-node-js-app-with-systemd-part-1/) |
You can run homekit2mqtt on startup using cron. Do - Or |
Hi i have service: [Unit] [Service] [Install] You need to copy the /etc/systemd/system/homekit2mqtt.service file, paste the code and then type: |
Oke, few options here. Thanks for the responses. I'll close the Issue for now and will reopen if I get stuck. Cheers. |
Hi,
First of all, thanks for this great code!
I've tried fire homekit2mqtt up via and putty shows:
After the last line, there is an empy line but no cursor. In other words, this putty window is now useless but I guess I have to keep it open to keep homekit2mqtt running.
Is there any way of running the program in background mode? I tried the usual '&' sign on the end but to no avail. Sorry if the solution is obvious but I am kind of stuck.
Thank you in advance.
The text was updated successfully, but these errors were encountered: