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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d63f243f98fe9e7c78dbaa6907959df6ca0c8021cf35cda1f35de86743cbeb7b
4
- data.tar.gz: 47f3e09254bb0aa1327bc23d9a24a01dbbc51276b1dd5ad15a7ee4478239a333
3
+ metadata.gz: b97273522c9313b14c8ac334a70a02d033ca7d3bba295655b0b5b698c52fb61b
4
+ data.tar.gz: 485e5c3a9f057beb3cbb2551b74dec55f9d447473e16cbcd1051cb6d2998c43c
5
5
  SHA512:
6
- metadata.gz: 376f46c4d8596c3d8844ad55f81bf987786610a7bb71ea1cfbebae15071ff8d644a1a4767616ba6c79f61af02a666c9ac471d9519a6c845bbba604c490c5c460
7
- data.tar.gz: e0f29fa182a215f634a10a9148148e3434d7978850e4e61adf862686acbca79aee852d080108bfcd95ae4fd76385386b1ba5ce46a481b87758d1a63e747ce275
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 quiet the service
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} exec puma -e #{fetch(:stage)}" %>
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} exec sidekiq -e #{fetch(:stage)}" %>
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 %> exec rake solid_queue:start
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
 
@@ -1,3 +1,3 @@
1
1
  module ImmosquareCapistrano
2
- VERSION = "0.1.2".freeze
2
+ VERSION = "0.1.3".freeze
3
3
  end
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.2
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-04-18 00:00:00.000000000 Z
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.7
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