So you want to restart your passenger standalone app
cd path/to/app && ./bin/passenger-config restart-app .This works until you have multiple passenger apps...
./bin/passenger-config restart-app .| angular.module("app").directive 'box', ($compile) -> | |
| restrict: 'AE' | |
| scope: {} | |
| compile: (elem, attrs) -> | |
| template = elem.html() | |
| (scope, elem, attrs, controller) -> | |
| elem.empty() | |
| elem.append($compile(template)(scope)) |
| location /faye { | |
| proxy_set_header X-Real-IP $remote_addr; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| proxy_set_header Host $http_host; | |
| proxy_redirect off; | |
| proxy_set_header Upgrade $http_upgrade; | |
| proxy_set_header Connection "upgrade"; | |
| proxy_http_version 1.1; |
So you want to restart your passenger standalone app
cd path/to/app && ./bin/passenger-config restart-app .This works until you have multiple passenger apps...
./bin/passenger-config restart-app .| #!/bin/bash -e | |
| if [ ! -f .phantomjs/2.1.1/x86_64-linux/bin/phantomjs ]; then | |
| curl -k -L -o phantomjs.tar.bz2 http://ci.monterail.io/files/phantomjs-2.1.1-linux-x86_64.tar.bz2 | |
| tar -jxf phantomjs.tar.bz2 | |
| mkdir -p .phantomjs/2.1.1/x86_64-linux/bin | |
| mv phantomjs-2.1.1-linux-x86_64/bin .phantomjs/2.1.1/x86_64-linux/ | |
| else | |
| echo "Phantomjs 2.1.1 is already installed" | |
| fi |
| server { | |
| listen 80; | |
| server_name es.example.com; | |
| return 301 https://$host$request_uri; | |
| } | |
| server { | |
| listen 443 ssl http2; |
| # this won't work | |
| terraform { | |
| backend "s3" { | |
| bucket = "${var.bucket}" | |
| dynamodb_table = "${var.dynamodb_table}" | |
| # reminder of the config... | |
| } | |
| } |
Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...
// see: https://github.com/chadoe/docker-cleanup-volumes
$ docker volume rm $(docker volume ls -qf dangling=true)
$ docker volume ls -qf dangling=true | xargs -r docker volume rm
I hereby claim:
To claim this, I am signing this object:
| # config/application.rb | |
| module MyApp | |
| class Application < Rails::Application | |
| config.my_setting = "prod value" | |
| end | |
| end |
| # gruvbox-light colorscheme for kitty | |
| foreground #3C3836 | |
| background #FBF1C7 | |
| selection_foreground #FBF1C7 | |
| selection_background #3C3836 | |
| color0 #FBF1C7 | |
| color8 #928374 |