oneacct-export 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/etc/init.d/oneacct-export-sidekiq +7 -0
- data/lib/oneacct_exporter/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbb13a1a7e4fb9551033c6f76366219b375a9a8f
|
4
|
+
data.tar.gz: c1dbe229079dd112924d6baadeb3634a8a82657f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 399a1af0c6d7d6bc63344948f2213e062a4031c34fdd9e25f639b4d4583b839273104f6f8d0b5bb0da433a4eee21b3f3a886cd55fbe67c7173423aedde91949d
|
7
|
+
data.tar.gz: 3ae5121fa9963562628e16b445fea8780cad47b45a9787c91f1d7e356c4db4e3624967a0a52776698d0b0ff4e1f705c834ec3c038ef7e37524b075e1a08be051
|
@@ -44,6 +44,12 @@ get_pid() {
|
|
44
44
|
cat "$pid_file"
|
45
45
|
}
|
46
46
|
|
47
|
+
setup_dirs() {
|
48
|
+
mkdir -p "$run_dir"
|
49
|
+
chown "$user":"$user" "$run_dir"
|
50
|
+
}
|
51
|
+
|
52
|
+
|
47
53
|
is_running() {
|
48
54
|
[ -f "$pid_file" ] && ps `get_pid` > /dev/null 2>&1
|
49
55
|
}
|
@@ -53,6 +59,7 @@ start() {
|
|
53
59
|
echo "Already started"
|
54
60
|
else
|
55
61
|
echo "Starting $name ..."
|
62
|
+
setup_dirs
|
56
63
|
|
57
64
|
cd "$run_dir"
|
58
65
|
sudo -u "$user" RAILS_ENV=production SSL_CERT_DIR=$SSL_CERT_DIR ONEACCT_EXPORT_LOG_LEVEL=$ONEACCT_EXPORT_LOG_LEVEL $cmd >> "$stdout_log" 2>> "$stderr_log" &
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: oneacct-export
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michal Kimle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -273,7 +273,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
273
273
|
version: '0'
|
274
274
|
requirements: []
|
275
275
|
rubyforge_project:
|
276
|
-
rubygems_version: 2.
|
276
|
+
rubygems_version: 2.6.10
|
277
277
|
signing_key:
|
278
278
|
specification_version: 4
|
279
279
|
summary: Exporting OpenNebula accounting data.
|