psadmin_plus 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/psa +3 -1
- data/lib/psadmin_plus.rb +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9e50fadeb47fc6959bfef534bb1fb031c85dc7051291ccbf914df38731351e6
|
4
|
+
data.tar.gz: 54aefd4d1ed463119baf1450a9feec43dc46db9e11c83843d4d790b536ac7278
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8255d51419c37a7cd16696202434131f4861d5a1f647dfc1558268801942cc72689e5ed6f4f492c10e64c941e732e42cc38c2af9c758d39b0dcf8e6194e5a45
|
7
|
+
data.tar.gz: 76cd40f2fb74de8824add86573a2766feed4f269039b9095e176fc4e71c8a5182a7bc2d885c05b5cd1d1deb8fbcdd7c44fbce7f2444b4c9d4519e2b8886bafee
|
data/bin/psa
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
3
|
require 'psadmin_plus'
|
4
|
-
#require_relative '../lib/psadmin_plus.rb'
|
5
4
|
|
6
5
|
# options
|
7
6
|
opts_c = ARGV.shift || "help"
|
@@ -99,6 +98,9 @@ commands.each do |c|
|
|
99
98
|
when "configure"
|
100
99
|
do_cmd_banner(c,t,d)
|
101
100
|
do_configure(t,d)
|
101
|
+
when "reconfigure"
|
102
|
+
do_cmd_banner(c,t,d)
|
103
|
+
do_reconfigure(t,d)
|
102
104
|
when "purge"
|
103
105
|
do_cmd_banner(c,t,d)
|
104
106
|
do_purge(t,d)
|
data/lib/psadmin_plus.rb
CHANGED
@@ -18,6 +18,7 @@ def do_help
|
|
18
18
|
puts " stop poolrm, if enabled, stop the domain"
|
19
19
|
puts " restart stop and start the domain"
|
20
20
|
puts " purge clear domain cache"
|
21
|
+
puts " reconfigure stop, configure, and start the domain"
|
21
22
|
puts " bounce stop, flush, purge, configure and start the domain"
|
22
23
|
puts " kill force stop the domain"
|
23
24
|
puts " configure configure the domain"
|
@@ -470,6 +471,12 @@ def do_restart(type, domain)
|
|
470
471
|
do_start(type, domain)
|
471
472
|
end
|
472
473
|
|
474
|
+
def do_reconfigure(type, domain)
|
475
|
+
do_stop(type, domain)
|
476
|
+
do_configure(type, domain)
|
477
|
+
do_start(type, domain)
|
478
|
+
end
|
479
|
+
|
473
480
|
def do_bounce(type, domain)
|
474
481
|
do_stop(type, domain)
|
475
482
|
do_purge(type, domain)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: psadmin_plus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle Benson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-01-04 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: A psadmin helper tool
|
15
15
|
email: kyle@psadmin.io
|