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
Matterbridge as a linux systemd service #176
Conversation
Hi, thanks for the PR! |
Could be. I cobbled it together based on the mattermost init.d script, I'm no expert. We needed it because when a connection drops, de bridge seemed to stop working. I decided that having it as a service would be nice, so we can do an easy restart, while also having the benefit of automatic starting at boot. If you have tips or pointers on how to improve the script I'd be happy to improve this pull request. |
An example for a true systemd service unit can be found here Normally you put those files in /etc/systemd/system The daemon-reload, enable and start commands remain the same. |
I have this:
Should I make a pull request? It's helpful when projects have some standard service files. :) |
@heinrich5991 looks good, sure, go ahead :) |
FYI, this is something related, which we could consider directing folks toward instead of including init scripts :) |
So this would mean:
Puts it in the users hands to install ruby, but then it works on any platform |
Supersedes 42wim#176.
@patcon feel free to edit stuff about this on the wiki, I'm going to close this PR now as @heinrich5991 #291 is merged. |
Add scripts to have matterbridge run as a systemd daemon in Linux.