capistrano-apache 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/capistrano/apache.rb +1 -0
- data/lib/capistrano/tasks/apache.rake +44 -0
- metadata +74 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d662a71351f4935be8927f117d748e1b78643c1c
|
4
|
+
data.tar.gz: 89b5c21d7365697220817ed0234e868717d66908
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 315922b14b0e0b20895ae4855f5f0b7d258885c952d5344fe49142fad40b24a4fea708e44ea1132f8bae054d110fca1a356f196aa8ae5c6cc1da22646d882d4c
|
7
|
+
data.tar.gz: dc01cc2e3ae425ac1b7e11686cb39c5ece76d659c6bdbd659b0499d2938da195aa16bb87fbb2f24ab0d6e5604b9fb9b99be2462da90a8e64dab206da038f043b
|
@@ -0,0 +1 @@
|
|
1
|
+
load File.expand_path('../tasks/apache.rake', __FILE__)
|
@@ -0,0 +1,44 @@
|
|
1
|
+
namespace :apache do
|
2
|
+
desc 'Reload apache (requires root access to apache reload)'
|
3
|
+
task :reload do
|
4
|
+
on release_roles(fetch(:apache_roles)) do
|
5
|
+
execute :apache, 'reload'
|
6
|
+
end
|
7
|
+
end
|
8
|
+
|
9
|
+
desc 'Force reload apache (requires root access to apache reload)'
|
10
|
+
task :force_reload do
|
11
|
+
on release_roles(fetch(:apache_roles)) do
|
12
|
+
execute :apache, 'force-reload'
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
desc 'Stop apache (requires root access to apache stop)'
|
17
|
+
task :stop do
|
18
|
+
on release_roles(fetch(:apache_roles)) do
|
19
|
+
execute :apache, 'stop'
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
desc 'Start apache (requires root access to apache start)'
|
24
|
+
task :start do
|
25
|
+
on release_roles(fetch(:apache_roles)) do
|
26
|
+
execute :apache, 'start'
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
desc 'Restart apache (requires root access to apache restart)'
|
31
|
+
task :restart do
|
32
|
+
on release_roles(fetch(:apache_roles)) do
|
33
|
+
execute :apache, 'restart'
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
namespace :load do
|
39
|
+
task :defaults do
|
40
|
+
set :apache_roles, :all
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
SSHKit.config.command_map[:apache] = 'sudo /etc/init.d/apache2'
|
metadata
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: capistrano-apache
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Sullivan Senechal
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-05-20 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: capistrano
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.1'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.1'
|
41
|
+
description: Executes Apache service tasks like reload or restart from Capistrano
|
42
|
+
email:
|
43
|
+
- soullivaneuh@gmail.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- lib/capistrano/apache.rb
|
49
|
+
- lib/capistrano/tasks/apache.rake
|
50
|
+
homepage: https://github.com/nexylan/capistrano-apache
|
51
|
+
licenses:
|
52
|
+
- MIT
|
53
|
+
metadata: {}
|
54
|
+
post_install_message:
|
55
|
+
rdoc_options: []
|
56
|
+
require_paths:
|
57
|
+
- lib
|
58
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
requirements: []
|
69
|
+
rubyforge_project:
|
70
|
+
rubygems_version: 2.2.2
|
71
|
+
signing_key:
|
72
|
+
specification_version: 4
|
73
|
+
summary: Capistrano extension for Apache tasks
|
74
|
+
test_files: []
|