[Unit] Description=Graylog server Documentation=http://docs.graylog.org/ Wants=network-online.target After=network-online.target [Service] Type=simple Restart=always RestartSec=10 User=graylog Group=graylog LimitNOFILE=64000 ExecStart=/opt/graylog-server/bin/graylog-server # When a JVM receives a SIGTERM signal it exits with 143. SuccessExitStatus=143 # Make sure stderr/stdout is captured in the systemd journal. StandardOutput=journal StandardError=journal [Install] WantedBy=multi-user.target