railman-deployment 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/railman/tasks/deployment.rake +2 -2
- data/lib/railman-deployment/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b052e7ca324262fc17b67994f92d9fb7f77d2652cfcf2b1c95ba66bbe801ebe0
|
4
|
+
data.tar.gz: d53a9905caf04da79909d080160b7c950dd161b05472bb224c0c744345e72f3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bff6b9955740c0c60ca24c6ff68536d80e0bd2c04b7c5d9472fff7cedcb2d3f762eb36adc8946ecec1fa585933ccc30180eeb490f2292a6dae2f7c24ec0ebb6
|
7
|
+
data.tar.gz: 1031819a404df257450a521ca3ae8bcf82378f56b93864edf85d858a8f73c10c29cb76db18dbce62b45e60559e1a140829b0fa490d99ddf167b9e90f0709a43f
|
@@ -9,8 +9,8 @@ task :setup do
|
|
9
9
|
invoke :sync_local_dirs_to_server
|
10
10
|
end
|
11
11
|
server_conf_dir = "#{fetch(:deploy_to)}/config/server"
|
12
|
-
execute :
|
13
|
-
execute :
|
12
|
+
execute :su_cp, "#{server_conf_dir}/puma.service /lib/systemd/system/#{fetch(:application)}.service"
|
13
|
+
execute :su_cp, "#{server_conf_dir}/sidekiq.service /lib/systemd/system/#{fetch(:application)}_sidekiq.service"
|
14
14
|
execute :su_ln, "-s -f #{server_conf_dir}/logrotate.conf /etc/logrotate.d/#{fetch(:application)}"
|
15
15
|
within fetch(:deploy_to) do
|
16
16
|
upload! './config/master.key', "#{fetch(:deploy_to)}/config/master.key"
|