harbr 0.1.59 → 0.1.60

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: 2e56262ec27753fc415e7e48325aec332145488ec6e0e3a689b00157068547ca
4
- data.tar.gz: c8baafeb348d432669ed3364661a13144f8e0a184f5691aec82d9662e981647c
3
+ metadata.gz: 440d1e8837aa9a47180c1de066f99ea28a572c5455856a04cd4e92d0b663f502
4
+ data.tar.gz: 198967d2d4450023705023e3332e1f85ea5da524944440e41d2983d8e9fbe85b
5
5
  SHA512:
6
- metadata.gz: '0339b59014fd96460c44617f351be1303a0c963e15d1e6cb3c308c89368bff436b59f15c6993c2f5df59caba2d8b690f194c0f6b3bff79dc056970ef48b8c091'
7
- data.tar.gz: eba0044d3a43226387a901c2dae9551b9ddb48ac0a3b34f6f519a434795f4aca533c5d14e35982018fabbd8a71d654cffcf4608f7e762c17b125961915cd284b
6
+ metadata.gz: ff337dca9b6cb7084f19d89974dfad16b833bcd0a71c190cdfc86edf93d555d6a6857cfce8c33f59664d170e00ae1681063c845c9b1b0f16f7f924d2cdcd07a1
7
+ data.tar.gz: 4c6501fe96e399e5fa466f6219f3b3519228e3f6a285b2a47ce9330591b4acff6e6a7d3a5c3fde9610c6cf302b6a2639f1183b18b3bf817c6ce0cba460911708
data/lib/harbr/job.rb CHANGED
@@ -169,15 +169,18 @@ module Harbr
169
169
  `chmod +x /etc/sv/harbr/#{name}/#{env}/run`
170
170
  `chmod +x /etc/sv/harbr/#{name}/#{env}/finish`
171
171
  `chmod +x /etc/sv/harbr/#{name}/#{env}/log/run`
172
+ `mkdir -p /var/log/harbr/#{name}/#{env}`
172
173
  end
173
174
 
174
175
  if env == "current"
175
176
  write_to_file "/etc/sv/harbr/#{name}/run", run_script
176
177
  write_to_file "/etc/sv/harbr/#{name}/log/run", log_script
177
- write_to_file "/etc/sv/harbr/#{name}/log/finish", finish_script
178
+ write_to_file "/etc/sv/harbr/#{name}/finish", finish_script
178
179
  `chmod +x /etc/sv/harbr/#{name}/run`
179
180
  `chmod +x /etc/sv/harbr/#{name}/finish`
180
181
  `chmod +x /etc/sv/harbr/#{name}/log/run`
182
+ `mkdir -p /var/log/harbr/#{name}`
183
+
181
184
  end
182
185
 
183
186
 
data/lib/harbr/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Harbr
4
- VERSION = "0.1.59"
4
+ VERSION = "0.1.60"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harbr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.59
4
+ version: 0.1.60
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delaney Kuldvee Burke