capistrano-foreman-systemd 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/capistrano-foreman.gemspec +1 -1
- data/lib/capistrano/tasks/foreman.rake +3 -3
- 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: d20becd7bc54a5315f83e34e84891843c5181216
|
4
|
+
data.tar.gz: d1654dc205b007456bc3544e6934300357afa312
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bc0f8f232dd9fefc754ff03e89b86fe3b690b8d44b9e865fc1fc3b2e6bc2be420805a7555ca8a7ea9137f5f5ba6bb95f37621e29572c24cebb3ea01562f06ad
|
7
|
+
data.tar.gz: 007ff5bdbe83d475fb8e8437e398c49f6d1369f6feca655699b665344838fe24904d1a52c82c1cbb9cdd1385c4f1a4ca187faf4f0fa8fd469a03c0e560f4b75e
|
data/capistrano-foreman.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'capistrano-foreman-systemd'
|
7
|
-
spec.version = '0.0.
|
7
|
+
spec.version = '0.0.6'
|
8
8
|
spec.authors = ['Adrian Serafin']
|
9
9
|
spec.email = ['adrian@softmad.pl']
|
10
10
|
spec.description = %q{Foreman and systemd tasks for Capistrano 3.x}
|
@@ -61,21 +61,21 @@ namespace :foreman do
|
|
61
61
|
desc "Start the application services"
|
62
62
|
task :start do
|
63
63
|
on roles fetch(:foreman_roles) do
|
64
|
-
sudo :
|
64
|
+
sudo :systemctl, "start #{fetch(:foreman_app)}.target"
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
68
68
|
desc "Stop the application services"
|
69
69
|
task :stop do
|
70
70
|
on roles fetch(:foreman_roles) do
|
71
|
-
sudo :
|
71
|
+
sudo :systemctl, "stop #{fetch(:foreman_app)}.target"
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
75
75
|
desc "Restart the application services"
|
76
76
|
task :restart do
|
77
77
|
on roles fetch(:foreman_roles) do
|
78
|
-
sudo :restart, fetch(:foreman_app)
|
78
|
+
sudo :restart, "start #{fetch(:foreman_app)}.target"
|
79
79
|
end
|
80
80
|
end
|
81
81
|
|