Skip to content

Commit acc9114

Browse files
Oudmaijer, S - SPLXLOudmaijer, S - SPLXL
authored andcommitted
moved running pid out of graylog2-web-interface folder. updates now actually work
1 parent 0da59d6 commit acc9114

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Run default recipe to install server with web interface.
1414

1515
Graylog2 server
1616

17-
* default[:graylog2][:server_version] = '0.20.0-rc.2'
17+
* default[:graylog2][:server_version] = '0.20.0'
1818
* default[:graylog2][:server_home] = '/opt/graylog2-server'
1919
* default[:graylog2][:server_user] = 'graylog2'
2020
* default[:graylog2][:server_group] = 'graylog2'
@@ -32,7 +32,7 @@ Graylog2 server
3232

3333
Graylog2 web interface
3434

35-
* default[:graylog2][:server_version] = '0.20.0-rc.2'
35+
* default[:graylog2][:server_version] = '0.20.0'
3636
* default[:graylog2][:server_home] = '/opt/graylog2-server'
3737
* default[:graylog2][:server_user] = 'graylog2'
3838
* default[:graylog2][:server_group] = 'graylog2'

attributes/server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
override[:elasticsearch][:allocated_memory] = "512m"
55
override[:elasticsearch][:plugins] = {"mobz/elasticsearch-head" => ""}
66

7-
default[:graylog2][:server_version] = '0.20.0'
7+
default[:graylog2][:server_version] = '0.20.1'
88
default[:graylog2][:server_home] = '/opt/graylog2-server'
99
default[:graylog2][:server_user] = 'graylog2'
1010
default[:graylog2][:server_group] = 'graylog2'

attributes/web-interface.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
default[:graylog2][:web_version] = '0.20.0'
1+
default[:graylog2][:web_version] = '0.20.1'
22
default[:graylog2][:web_home] = '/opt/graylog2-web-interface'
33
default[:graylog2][:web_user] = 'graylog2-web'
44
default[:graylog2][:web_service_name] = 'graylog2-web-interface'

metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
license 'All rights reserved'
55
description 'Installs/Configures graylog2'
66
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
7-
version '1.0.2'
7+
version '1.0.3'
88

99
recipe "graylog2::default", "Installs and configures a graylog2 server"
1010
recipe "graylog2::server", "Installs and configures a graylog2 server"

templates/default/graylog2-web-interface.init.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
APP=<%= node[:graylog2][:web_service_name] %>
1616
APP_PATH=<%= node[:graylog2][:web_home] %>
1717
NOHUP=`which nohup`
18-
GRAYLOG2_PID=$APP_PATH/RUNNING_PID
18+
GRAYLOG2_PID=/var/run/<%= node[:graylog2][:web_service_name] %>
1919

2020
test -x /usr/bin/java || exit 0
2121

@@ -24,7 +24,7 @@ set -e
2424
start() {
2525
echo "Starting $APP ..."
2626
cd $APP_PATH/bin
27-
$NOHUP ./$APP -mem <%= node[:graylog2][:web_mem] %> &
27+
$NOHUP ./$APP -mem <%= node[:graylog2][:web_mem] %> -Dpidfile.path=$GRAYLOG2_PID &
2828
}
2929

3030
stop() {

0 commit comments

Comments
 (0)