servitude 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/servitude/cli/service.rb +1 -0
- data/lib/servitude/daemon.rb +1 -1
- data/lib/servitude/version.rb +1 -1
- 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: 0f13c74949c47d98ecb7be0cfdd1fc46a32e6496
|
4
|
+
data.tar.gz: c8995f9320f6777635b6f261bb998893c3af67f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36bae4285106e9ace2eb9bb25b9a10e5b5de7c0e8ba727b8123198b0d9b004c9121253d219efdec755bd4a71bd31cc4cddf1029f37e81136d844856a85044047
|
7
|
+
data.tar.gz: 3227a9d4d2d0ba4e292d31072b3f5ba73cf5b47219f95a94ed1fe6165e40b65f82b69c3e0e45dfc6b04d0f0df74f6f2eeb54805f4b865c592e505ce56ef37f2e
|
@@ -62,6 +62,7 @@ module Servitude
|
|
62
62
|
|
63
63
|
desc "stop", "Stop the server daemon"
|
64
64
|
pid_option
|
65
|
+
method_option :quiet, type: :boolean, aliases: '-q', desc: "Do not prompt to remove an old PID file", default: false
|
65
66
|
def stop
|
66
67
|
server = Servitude::Daemon.new( options.merge( use_config: Servitude::USE_CONFIG ))
|
67
68
|
server.stop
|
data/lib/servitude/daemon.rb
CHANGED
@@ -47,7 +47,7 @@ module Servitude
|
|
47
47
|
when :failed_to_stop
|
48
48
|
when :does_not_exist
|
49
49
|
puts "#{Servitude::APP_NAME} process is not running"
|
50
|
-
prompt_and_remove_pid_file if pid_file_exists?
|
50
|
+
prompt_and_remove_pid_file if pid_file_exists? && !options[:quiet]
|
51
51
|
else
|
52
52
|
raise 'Unknown return code from #kill_process'
|
53
53
|
end
|
data/lib/servitude/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: servitude
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Harrelson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|