This file contains hidden or 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
worker_processes 1 | |
timeout 180 | |
# Location of stderr/stdout logs | |
stderr_path "/home/www/my_server/current/log/unicorn.err.log" | |
#stdout_path "/home/www/my_server/current/log/unicorn.out.log" | |
listen '/home/www/my_server/current/tmp/sockets/unicorn.socket' | |
pid_file = "/home/www/my_server/current/tmp/pids/unicorn.pid" | |
pid pid_file |
This file contains hidden or 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 | |
### BEGIN INIT INFO | |
# Provides: APPLICATION | |
# Required-Start: $all | |
# Required-Stop: $network $local_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Start the APPLICATION unicorns at boot | |
# Description: Enable APPLICATION at boot time. | |
### END INIT INFO |
NewerOlder