How to run matterbridge in the background on Mac with .plist #327
Replies: 6 comments
-
Hi, You can run matterbridge “as a service” creating a launchd .plist yourself. Unfortunately I'm not an expert on mac. Try to join discord group and maybe there someone can help you better then me. After would be nice to create a readme with the instructions... |
Beta Was this translation helpful? Give feedback.
-
I posted on Discord... |
Beta Was this translation helpful? Give feedback.
-
I created a small utility to do this on macOS, akin to hb-service in the Homebridge ecosystem. Should help to get a basic launchd daemon going and is working on my home Mac server. Might be something we can integrate into matterbridge at some point in the future, but not there yet.. |
Beta Was this translation helpful? Give feedback.
-
If it does work like expected I would be happy to add it to the readme. |
Beta Was this translation helpful? Give feedback.
-
Similar to how hb-service works, it checks if the global modules dir is writable by the user running Matterbridge, and if not will chown this directory to allow this (the install command is run by the user as sudo, so this should succeed). This is also similar to how homebrew (macOS package manager) wires up node to avoid npm install -g issues. |
Beta Was this translation helpful? Give feedback.
-
Thanks so much. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have successfully run matterbridge on my Mac, but I found that I can't keep it in the background, I have to have a terminal open to run matterbridge。Is there any solution for this?
Beta Was this translation helpful? Give feedback.
All reactions