1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/tools/jungle/run-puma
Darío Javier Cravero f2cb62c749 Implemented an init.d script to manage the Jungle.
The script allows running Puma apps as daemons using start-stop-daemon and adds an easy way to log its activity.
2012-08-11 20:04:55 +01:00

3 lines
96 B
Bash
Executable file

#!/bin/bash
app=$1; config=$2; log=$3;
cd $app && exec bundle exec puma -C $config 2>&1 >> $log