11 lines
168 B
Bash
11 lines
168 B
Bash
#!/usr/bin/env bash
|
|
set -e
|
|
unset BUNDLE_PATH
|
|
unset BUNDLE_BIN
|
|
|
|
# Start cron in background
|
|
cron
|
|
|
|
# Start your Ruby process in foreground
|
|
ruby /usr/src/app/smartmeter.rb
|