Open bolausson opened 1 month ago
How can I add such a file to a gem? I guess, I would need some kind of an installer for including something like that, right?
If not, please give me a hint, on how this could be done. Looks interesting!
I have no clue about ruby and gem. I would simply add it to your GitHub repo. If people need it, they can grab it from your repo and put it in place.
If you want to include in a gem - maybe this helps: https://stackoverflow.com/questions/10625267/approach-for-installing-system-service-implemented-as-ruby-gem
Hej,
you might want to add a systemd service file to your repo.
Something like that: /etc/systemd/system/ruby-grafana-reporter.service