Last active
December 8, 2021 15:41
-
-
Save shuuuuun/1d4e1ab46d68c527fb92a808da86d1ab to your computer and use it in GitHub Desktop.
[pumactl.sh]
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ROOT_PATH=`cd "$(dirname $0)/../" && pwd` | |
pid=`cat $ROOT_PATH/tmp/pids/puma.pid` | |
kill $pid && echo "killed $pid" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PUMA_DAEMONIZE=1 bundle exec puma -C config/puma.rb -d | |
# PUMA_DAEMONIZE=1 bundle exec puma --config config/puma.rb --workers 3 --preload --daemon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/puma/puma