init_puma_myapp ��I� V � J� V #!/bin/bash # # MyApp # chkconfig: 2345 82 55 # processname: puma # description: Runs puma for nginx integration. # Include RedHat function library . /etc/rc.d/init.d/functions # The name of the service NAME=myapp # The username and path to the myapp source USER=rails APP_PATH=/home/$USER/myapp # The PID and LOCK files used by puma and sidekiq UPID=$APP_PATH/tmp/pids/