capistrano3-puma 5.0.3 → 5.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -0
- data/README.md +3 -0
- data/lib/capistrano/puma/systemd.rb +3 -2
- data/lib/capistrano/puma/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4528e38ecbf164322621f3b7d410bc02afc0a768bb34d0aabfceb5ff580c0e3b
|
|
4
|
+
data.tar.gz: ef77825a1e3616b3d38d2e32d3d157ee586b190725b7f124eb06ee23e56878c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b4a5bfe7b2bc2069ed44fcf9e182ae8e3e2507e1e22725216c891248a20d357e561b03a4aced23911dc3b1f5fdcca3838312efd2838a181ce69534749ed9e54
|
|
7
|
+
data.tar.gz: 711219b1bbeb37c64f48251b76adf1a472715e0f5aa38fae18e2e6252083735b7cc7fb7a58a35a00f583d4daee347be10be8fc81c2c26e39e91c2826b0117729
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -171,6 +171,9 @@ Configurable options, shown here with defaults: Please note the configuration op
|
|
|
171
171
|
set :puma_tag, fetch(:application)
|
|
172
172
|
set :puma_restart_command, 'bundle exec puma'
|
|
173
173
|
set :puma_service_unit_name, "puma_#{fetch(:application)}_#{fetch(:stage)}"
|
|
174
|
+
set :puma_systemctl_user, :system # accepts :user
|
|
175
|
+
set :puma_enable_lingering, fetch(:puma_systemctl_user) != :system # https://wiki.archlinux.org/index.php/systemd/User#Automatic_start-up_of_systemd_user_instances
|
|
176
|
+
set :puma_lingering_user, fetch(:user)
|
|
174
177
|
set :puma_service_unit_env_file, nil
|
|
175
178
|
set :puma_service_unit_env_vars, []
|
|
176
179
|
|
|
@@ -13,8 +13,9 @@ module Capistrano
|
|
|
13
13
|
def set_defaults
|
|
14
14
|
set_if_empty :puma_systemctl_bin, '/bin/systemctl'
|
|
15
15
|
set_if_empty :puma_service_unit_name, -> { "puma_#{fetch(:application)}_#{fetch(:stage)}" }
|
|
16
|
-
set_if_empty :
|
|
17
|
-
set_if_empty :puma_enable_lingering,
|
|
16
|
+
set_if_empty :puma_systemctl_user, :system
|
|
17
|
+
set_if_empty :puma_enable_lingering, -> { fetch(:puma_systemctl_user) != :system }
|
|
18
|
+
set_if_empty :puma_lingering_user, -> { fetch(:user) }
|
|
18
19
|
end
|
|
19
20
|
end
|
|
20
21
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano3-puma
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.0.
|
|
4
|
+
version: 5.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Abdelkader Boudih
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-03-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|