dns_one 0.4.17 → 0.4.18
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/setup.rb +3 -2
- 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: b196b5264815d4657dbc398c6eefa334fe8eed66
|
4
|
+
data.tar.gz: 6898dc1a630c7b1f23f381dd8b30c9b705958649
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8191df0dbee0ff8f3a37d076051c816cb4bf958a2451e133cdbe157af9f9918ac339c0cb1f1887ae6a17b635d49ae1752e52f94cee65453d0c933e077a33bc2
|
7
|
+
data.tar.gz: 8f6ed9382d04ba22d9f5a3a150a151e42f5a1c5c72d3bb6f4e455a2daf946e7e90c98ec4559af15f46ab800a2f7309be54e8c2c8adae0ebb527f1464490667ff
|
data/lib/dns_one/setup.rb
CHANGED
@@ -28,13 +28,14 @@ module DnsOne; class Setup
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def uninstall
|
31
|
-
|
32
|
-
# File.delete DnsOne::DEFAULT_CONF_FILE
|
31
|
+
# File.delete DnsOne::DEFAULT_CONF_FILE # TODO: prompt user
|
33
32
|
if File.exist?(SYSTEMD_SERVICE_FILE)
|
33
|
+
Util.run "systemctl stop #{SERVICE_NAME}"
|
34
34
|
Util.run "systemctl disable #{SERVICE_NAME}"
|
35
35
|
File.delete SYSTEMD_SERVICE_FILE
|
36
36
|
end
|
37
37
|
FileUtils.rm_rf DnsOne::WORK_DIR
|
38
|
+
# TODO: prompt if should remove user
|
38
39
|
puts "Uninstall complete."
|
39
40
|
end
|
40
41
|
|
data/lib/dns_one/version.rb
CHANGED