Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.

hadret/scripts-graylog2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

graylog2 systemd scripts

Here you can find systemd scripts for latest (v0.20.6) graylog2-server and graylog2-web. Please note, that these scripts assume couple of things:

  • systemd is in version 208 or newer
  • graylog2-server is located in /opt/graylog2-server
  • graylog2-web is located in /opt/graylog2-web
  • graylog2-server is running on the same machine as Elasticsearch and MongoDB (if this is not the case, just remove Requires section from graylog2-server script)
  • scripts are binded to network.target and will fail to start when it's not present (both during boot time and when for some reason network.target will go down)

Please notice that there are no guarantees that hamsters will not eat your server (nor that those scripts will work for you).

Pull requests are more than welcome! (:

Installation

graylog2-server:

sudo wget -O /lib/systemd/system/graylog2-server.service https://raw.githubusercontent.com/hadret/scripts-graylog2/master/graylog2-server.service
sudo systemctl enable graylog2-server
sudo systemctl start graylog2-server

graylog2-web:

sudo wget -O /lib/systemd/system/graylog2-web.service https://raw.githubusercontent.com/hadret/scripts-graylog2/master/graylog2-web.service
sudo systemctl enable graylog2-web
sudo systemctl start graylog2-web

Authors

Filip "Hadret" Chabik [email protected] / @hadret

(Remember to add yourself when pull requesting).

About

graylog2 systemd scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published