immosquare-capistrano 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/immosquare/capistrano/tasks/sidekiq.rake +1 -1
- data/lib/immosquare/capistrano/templates/puma.service.erb +1 -1
- data/lib/immosquare/capistrano/templates/sidekiq.service.erb +1 -1
- data/lib/immosquare/capistrano/templates/solid_queue.service.erb +1 -1
- data/lib/immosquare-capistrano/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b97273522c9313b14c8ac334a70a02d033ca7d3bba295655b0b5b698c52fb61b
|
4
|
+
data.tar.gz: 485e5c3a9f057beb3cbb2551b74dec55f9d447473e16cbcd1051cb6d2998c43c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bafb9c999eb8d605f427901e8500ddade290e79b0690319f2420968b585180ee3966fd2b8a5282175d693db0c66e48e7742ed54389eacc6e006e57c5ea290502
|
7
|
+
data.tar.gz: f54c8eb6c7a09857a518815b661542b5a3e2829a25eb68dcb09b4f48ab9ac88db904a3e22d26a7e9229fb743880df7db27cb23811cd0b78aab2da3466eaba080
|
@@ -22,7 +22,7 @@ namespace :sidekiq do
|
|
22
22
|
sudo "mv #{result_path} /etc/systemd/system/#{service_name}"
|
23
23
|
|
24
24
|
##============================================================##
|
25
|
-
## Reload the systemd daemon and
|
25
|
+
## Reload the systemd daemon and enable the service
|
26
26
|
##============================================================##
|
27
27
|
sudo "systemctl daemon-reload"
|
28
28
|
sudo "systemctl enable #{service_name}"
|
@@ -8,7 +8,7 @@ Type=notify
|
|
8
8
|
WatchdogSec=10
|
9
9
|
User=<%= fetch(:puma_user) %>
|
10
10
|
WorkingDirectory=<%= current_path %>
|
11
|
-
ExecStart=<%= "#{Capistrano::Immosquare::Helpers.expanded_bundle_command}
|
11
|
+
ExecStart=<%= "#{Capistrano::Immosquare::Helpers.expanded_bundle_command.gsub("~", "/home/#{fetch(:puma_user)}")} exec puma -e #{fetch(:stage)}" %>
|
12
12
|
ExecReload=/bin/kill -USR1 $MAINPID
|
13
13
|
|
14
14
|
|
@@ -8,7 +8,7 @@ Type=notify
|
|
8
8
|
WatchdogSec=10
|
9
9
|
User=<%= fetch(:sidekiq_user) %>
|
10
10
|
WorkingDirectory=<%= current_path %>
|
11
|
-
ExecStart=<%= "#{Capistrano::Immosquare::Helpers.expanded_bundle_command}
|
11
|
+
ExecStart=<%= "#{Capistrano::Immosquare::Helpers.expanded_bundle_command.gsub("~", "/home/#{fetch(:sidekiq_user)}")} exec sidekiq -e #{fetch(:stage)}" %>
|
12
12
|
|
13
13
|
UMask=0002
|
14
14
|
|
@@ -8,7 +8,7 @@ Environment=RAILS_ENV=<%= fetch(:stage) %>
|
|
8
8
|
User=<%= fetch(:solid_queue_user) %>
|
9
9
|
WorkingDirectory=<%= current_path %>
|
10
10
|
|
11
|
-
ExecStart=<%= Capistrano::Immosquare::Helpers.expanded_bundle_command
|
11
|
+
ExecStart=<%= "#{Capistrano::Immosquare::Helpers.expanded_bundle_command.gsub("~", "/home/#{fetch(:solid_queue_user)}")} exec rake solid_queue:start" %>
|
12
12
|
ExecReload=/bin/kill -HUP $MAINPID
|
13
13
|
ExecStop=/bin/kill -TERM $MAINPID
|
14
14
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: immosquare-capistrano
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- IMMO SQUARE
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: '0'
|
65
65
|
requirements: []
|
66
|
-
rubygems_version: 3.5.
|
66
|
+
rubygems_version: 3.5.9
|
67
67
|
signing_key:
|
68
68
|
specification_version: 4
|
69
69
|
summary: Puma, Sidekiq & SolidQueue services integrations for Capistrano
|