mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
f2cb62c749
The script allows running Puma apps as daemons using start-stop-daemon and adds an easy way to log its activity.
3 lines
96 B
Bash
Executable file
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
|