dns_one 0.4.7 → 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dns_one/cli.rb +6 -6
- data/lib/dns_one/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f528114ee7c5a3f7d408fc8145be9aca563faaa8
|
4
|
+
data.tar.gz: 46f90187b9565856cbef718c8401f813c1a90081
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a95763e1b6bb77707524d45c8aa7c890ba81e1cdf061a1fba7969004eda42f4b7b8dee8bc573af1a65fca2314f1ef6e05994f7328838d62e044278d2250e0382
|
7
|
+
data.tar.gz: 1760effc82e9636e220b58f9c2fd041d7a80808b351859c2d7edd40edaa00d218eb8ea18a9eaa5284944181f8b3f616b5a5d32dd52df99606df28764b9ca7c1f
|
data/lib/dns_one/cli.rb
CHANGED
@@ -32,19 +32,19 @@ class DnsOne::CLI < Thor
|
|
32
32
|
|
33
33
|
desc "start", "start dns_one"
|
34
34
|
def start
|
35
|
-
Util.ensure_sytemd
|
36
|
-
|
35
|
+
DnsOne::Util.ensure_sytemd
|
36
|
+
DnsOne::Util.run "systemctl start #{DnsOne::Setup::SERVICE_NAME}"
|
37
37
|
end
|
38
38
|
|
39
39
|
desc "stop", "stop dns_one"
|
40
40
|
def stop
|
41
|
-
Util.ensure_sytemd
|
42
|
-
Util.run "systemctl stop #{DnsOne::Setup::SERVICE_NAME}"
|
41
|
+
DnsOne::Util.ensure_sytemd
|
42
|
+
DnsOne::Util.run "systemctl stop #{DnsOne::Setup::SERVICE_NAME}"
|
43
43
|
end
|
44
44
|
|
45
45
|
desc "status", "check dns_one status"
|
46
46
|
def status
|
47
|
-
Util.ensure_sytemd
|
48
|
-
Util.run "systemctl status #{DnsOne::Setup::SERVICE_NAME}"
|
47
|
+
DnsOne::Util.ensure_sytemd
|
48
|
+
DnsOne::Util.run "systemctl status #{DnsOne::Setup::SERVICE_NAME}"
|
49
49
|
end
|
50
50
|
end
|
data/lib/dns_one/version.rb
CHANGED