filbunke 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.1.2
data/bin/filbunked CHANGED
@@ -19,9 +19,12 @@ if opts['--help'] || opts['--config'].blank?
19
19
  puts "Usage: filbunked -c <config_file.yml>"
20
20
  exit 1
21
21
  else
22
- config_file = File.read(opts['--config'])
23
- config = YAML.load(config_file)
24
- daemon = Filbunke::Daemon.new(config)
25
- Process::UID.grant_privilege(Etc.getpwnam(config["user"]).uid)
26
- daemon.run!
22
+ child_process = fork {
23
+ config_file = File.read(opts['--config'])
24
+ config = YAML.load(config_file)
25
+ daemon = Filbunke::Daemon.new(config)
26
+ Process::UID.change_privilege(Etc.getpwnam(config["user"]).uid)
27
+ daemon.run!
28
+ }
29
+ Process.detach(child_process)
27
30
  end
@@ -8,7 +8,7 @@ callback_path: '/path/to/filebunke/config.yml'
8
8
  repositories:
9
9
  cache:
10
10
  local_path: '/v5/cachetest'
11
- filbunke_server_host: 'spebbe.local'
11
+ filbunke_server_host: 'filebunkehost'
12
12
  filbunke_server_port: 8080
13
13
  filbunke_server_repository: 'cache'
14
14
  file_url_username: 'content'
data/filbunke.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{filbunke}
8
- s.version = "1.1.1"
8
+ s.version = "1.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Wouter de Bie"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 1
9
- version: 1.1.1
8
+ - 2
9
+ version: 1.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Wouter de Bie