syslogstash 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/syslogstash/syslog_reader.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6626cb091b7bf5bca9d7e54920e6e8be5318848
|
4
|
+
data.tar.gz: a089189b99321f4acf311dba99fb96851266322a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0f4955359259e45996ed2bac20b1dba1796ae6b7329dcc65ec9f355d785b3587cf175469c1ecde45dd16f4f2ba09b5b0701e0e086d4d7b255b2a221efa94ce2
|
7
|
+
data.tar.gz: f713dbb9bd1d961179392e3e78a1cf81bcde87e6b9d476545fcb51f2c38d94b535b8ddcdc3208ae9ecb2772932975786ee254ba4c4740cc8a03f29611295eda7
|
@@ -37,6 +37,7 @@ class Syslogstash::SyslogReader
|
|
37
37
|
begin
|
38
38
|
socket = Socket.new(Socket::AF_UNIX, Socket::SOCK_DGRAM, 0)
|
39
39
|
socket.bind(Socket.pack_sockaddr_un(@file))
|
40
|
+
File.chmod(0666, @file)
|
40
41
|
rescue Errno::EEXIST, Errno::EADDRINUSE
|
41
42
|
log { "socket file #{@file} already exists; deleting" }
|
42
43
|
File.unlink(@file) rescue nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: syslogstash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Palmer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: prometheus-client
|