immosquare-capistrano 0.1.1 → 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: 82e36c7fd3cb858ab8867e48f72dabf834e2b422f33376a5da5603ac13e1dfab
4
- data.tar.gz: 63c30e946a439d38d99d54b54769dc143c4907a2a6c05d5ba756131878fb8130
3
+ metadata.gz: b97273522c9313b14c8ac334a70a02d033ca7d3bba295655b0b5b698c52fb61b
4
+ data.tar.gz: 485e5c3a9f057beb3cbb2551b74dec55f9d447473e16cbcd1051cb6d2998c43c
5
5
  SHA512:
6
- metadata.gz: f7755c79f7df98e5af1778f265f08d50b72ce9cb198fae3c4f52438e73a7c2f36b64782f6b165fdd00b4fc38b3c43aa237c83dcf76738668cd390a008429abd8
7
- data.tar.gz: a92b7d0554675cd6cd4cc39eb992f1b026412fe7144b0b1e2b9375a1715c225f8f65ed29899e49b183281469fb3770b9e8b34529a4df656e168e252f47295464
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 production
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,8 +8,7 @@ Type=notify
8
8
  WatchdogSec=10
9
9
  User=<%= fetch(:sidekiq_user) %>
10
10
  WorkingDirectory=<%= current_path %>
11
-
12
- ExecStart=<%= Capistrano::Immosquare::Helpers.expanded_bundle_command %> exec sidekiq -e production
11
+ ExecStart=<%= "#{Capistrano::Immosquare::Helpers.expanded_bundle_command.gsub("~", "/home/#{fetch(:sidekiq_user)}")} exec sidekiq -e #{fetch(:stage)}" %>
13
12
 
14
13
  UMask=0002
15
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.1".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.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-04-17 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