pixelforce_recipes 3.3 → 3.7
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe872e9fd6c1147644dc2cc0e113b669f548baecb7f10e8cc18b7694fb1410b9
|
4
|
+
data.tar.gz: 9ed6ffb2bec4e94bc3b409254c4ad28a2fec4eaca7b661c0350954e1e767a902
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27130dd8af525648bb58e265eb6888e65948079f1c1466bdfd899bf156d4bbd8340d95d9df127a52d5a3e4a6fcc91b77f4fda2e3ec5e10ed75bb096bc8621488
|
7
|
+
data.tar.gz: 38e392e7449a1d86a708a86e679e3d912d3c8078902f93f167c69406fb8766e5c660e54af1452f316dfd510b96871ba4f5471bb73bba39388f4234b3c38b3568
|
@@ -1,9 +1,10 @@
|
|
1
1
|
namespace :logrotate do
|
2
2
|
desc "Setup logrotate configuration for this application"
|
3
3
|
task :setup do
|
4
|
-
on roles(:
|
4
|
+
on roles(:web) do
|
5
5
|
template "logrotate.erb", "/tmp/logrotate"
|
6
6
|
sudo "mv /tmp/logrotate /etc/logrotate.d/#{fetch(:application)}"
|
7
|
+
sudo "chown root:root /etc/logrotate.d/#{fetch(:application)}"
|
7
8
|
end
|
8
9
|
end
|
9
10
|
end
|
@@ -5,6 +5,8 @@ namespace :puma do
|
|
5
5
|
template 'puma.rb.erb', '/tmp/puma_conf'
|
6
6
|
sudo "mv /tmp/puma_conf #{shared_path}/config/puma.rb"
|
7
7
|
execute "mkdir -p #{shared_path}/pids"
|
8
|
+
template "nginx_puma_config.erb", "/tmp/nginx_puma_config"
|
9
|
+
sudo "mv /tmp/nginx_puma_config /etc/nginx/sites-enabled/#{fetch(:application)}"
|
8
10
|
end
|
9
11
|
end
|
10
12
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pixelforce_recipes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '3.
|
4
|
+
version: '3.7'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Zhang
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -84,6 +84,7 @@ files:
|
|
84
84
|
- bin/setup
|
85
85
|
- lib/pixelforce_recipes.rb
|
86
86
|
- lib/pixelforce_recipes/capistrano_3_recipes/base.rb
|
87
|
+
- lib/pixelforce_recipes/capistrano_3_recipes/elbas.rb
|
87
88
|
- lib/pixelforce_recipes/capistrano_3_recipes/logrotate.rb
|
88
89
|
- lib/pixelforce_recipes/capistrano_3_recipes/puma.rb
|
89
90
|
- lib/pixelforce_recipes/capistrano_3_recipes/resque.rb
|