Last active
November 20, 2016 15:25
-
-
Save dovy/ccb1362d9628ddc7457e to your computer and use it in GitHub Desktop.
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
# Defaults for ps-watcher initscript | |
# sourced by /etc/init.d/ps-watcher | |
# installed at /etc/default/ps-watcher by the maintainer scripts | |
# prevent startup without configuration file | |
# set the below varible to 1 in order to allow ps-watcher to start | |
startup=1 | |
# Specify your configfile here | |
CONFIG="/etc/ps-watcher.conf" | |
# Additional options that are passed to the Daemon. | |
# here: check every 150 secs | |
DAEMON_OPTS="--sleep 60" |
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
; php options | |
pid = /var/run/hhvm/pid | |
; hhvm specific | |
hhvm.server.port = 9000 | |
hhvm.server.type = fastcgi | |
hhvm.server.default_document = index.php | |
hhvm.log.use_log_file = true | |
hhvm.log.file = /var/log/hhvm/error.log | |
hhvm.repo.central.path = /var/run/hhvm/hhvm.hhbc | |
hhvm.jit_a_size=251658240 | |
hhvm.jit_a_cold_size=100663296 | |
hhvm.jit_a_frozen_size=167772160 | |
hhvm.jit_a_prof_size=268435456 | |
hhvm.jit_a_max_usage=251658240 | |
hhvm.jit_global_data_size=62914560 |
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
location ~ \.(hh|php)$ { | |
proxy_intercept_errors on; | |
error_page 502 = @fallback; | |
try_files $uri =404; | |
fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
fastcgi_keep_conn on; | |
include fastcgi_params; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_index index.php; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
include fastcgi_params; | |
} | |
location @fallback { | |
try_files $uri =404; | |
fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
include fastcgi_params; | |
fastcgi_index index.php; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
fastcgi_param SERVER_NAME $host; | |
fastcgi_pass unix:/var/run/php5-fpm.sock; | |
} |
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
[hhvm] | |
occurs = none | |
action = service hhvm restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment