buildable 2.3.0 → 2.4.0

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
  SHA1:
3
- metadata.gz: 4f2bd089d0ff417e7516948c378f34ecab4fb7fa
4
- data.tar.gz: 272c50fbf47584957018561b13307b6b76d26727
3
+ metadata.gz: a7966d7852cb0ac253c325d8081e9788a9b59569
4
+ data.tar.gz: c227ba5a67afe808910eb987eb1558a2a34028f2
5
5
  SHA512:
6
- metadata.gz: a1044c1158517929cb27e74434adfd3b08e82501cd348ad789953c48f03e7903a2a8b6ff19f6e6cf166d53423fe3987fb8dccd1ed7db6854993152fe3f2fcdb4
7
- data.tar.gz: 0b39d0cac6eaf7ea0ed1c09a781d3bf827233cdc5eddf5368776ee2dac2d5a055010c02d6816c77da3b1c5f4373f5b46676c2081f08e8f2838304360e08015bb
6
+ metadata.gz: dbe545495a03a4894e5b25b062d0960552c656eb019e1d4ab195352b3baaed0a73d9d40c91e1f4a2bd5f31859a7feca01a0fd03b3023a7808e8e44e8438d6bf8
7
+ data.tar.gz: e9b6cf13d443546b99b01454437ac4854a32450083b241f766721cb0de325183e4166c6c69b4691131917c28f2438a1f128824f228b20399b2f5442234bd966e
@@ -14,11 +14,14 @@
14
14
  PATH=/sbin:/usr/sbin:/bin:/usr/bin
15
15
  NAME=<%= app %>
16
16
  USERNAME=<%= user %>
17
+ PID_DIR=/var/run/<%= app %>
17
18
  <% engine.each_process do |name, process| -%>
18
- <%= name %>_pidfile=/var/run/<%= app %>/<%= name %>.pid
19
+ <%= name %>_pidfile=$PID_DIR/<%= name %>.pid
19
20
  <% end -%>
20
21
 
21
- mkdir -p /var/run/<%= app %>
22
+ mkdir -p $PID_DIR
23
+ chown $USERNAME:root $PID_DIR
24
+ chmod 660 $PID_DIR
22
25
 
23
26
  [ -r /lib/lsb/init-functions ] &&. /lib/lsb/init-functions
24
27
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buildable
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandre Prates
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-06 00:00:00.000000000 Z
11
+ date: 2017-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake