diff --git a/pm2/Ecosystem.json b/pm2/Ecosystem.json index df2ab5f..df327e9 100644 --- a/pm2/Ecosystem.json +++ b/pm2/Ecosystem.json @@ -122,7 +122,26 @@ env_production: { NODE_ENV: "production" } - } + }, + { + "name": "nURL", + "script": "app.js", + "cwd": "/var/www/nurl", + "watch": true, + "ignore_watch": [ + "node_modules" + ], + "merge_logs": true, + "autorestart": true, + "restart_delay": 3500, + "max_memory_restart": "300M", + env: { + NODE_ENV: "prod" + }, + env_production: { + NODE_ENV: "prod" + } + } ], /** * Deployment section diff --git a/shell_dotfiles/_bash_profile_osx b/shell_dotfiles/_bash_profile_osx index 0c4fade..6793a7b 100644 --- a/shell_dotfiles/_bash_profile_osx +++ b/shell_dotfiles/_bash_profile_osx @@ -10,37 +10,12 @@ for file in ~/.{path,bash_prompt,exports,aliases,functions,extra}; do done; unset file; -## -# Your previous /Users/martin/.bash_profile file was backed up as /Users/martin/.bash_profile.macports-saved_2012-04-20_at_13:53:29 -## - -# MacPorts Installer addition on 2012-04-20_at_13:53:29: adding an appropriate PATH variable for use with MacPorts. -export PATH=/opt/local/bin:/opt/local/sbin:$PATH -# Finished adapting your PATH environment variable for use with MacPorts. - - -## -# Your previous /Users/martin/.bash_profile file was backed up as /Users/martin/.bash_profile.macports-saved_2012-11-05_at_14:28:31 -## - -# MacPorts Installer addition on 2012-11-05_at_14:28:31: adding an appropriate PATH variable for use with MacPorts. -export PATH=/opt/local/bin:/opt/local/sbin:$PATH -# Finished adapting your PATH environment variable for use with MacPorts. - - -## -# Your previous /Users/martin/.bash_profile file was backed up as /Users/martin/.bash_profile.macports-saved_2012-11-07_at_10:22:38 -## - -# MacPorts Installer addition on 2012-11-07_at_10:22:38: adding an appropriate PATH variable for use with MacPorts. -export PATH=/opt/local/bin:/opt/local/sbin:$PATH -# Finished adapting your PATH environment variable for use with MacPorts. - -export PATH="$PATH:$HOME/android-sdk-macosx/tools:$HOME/android-sdk-macosx/platform-tools:" - - -[[ -s /Users/martin/.nvm/nvm.sh ]] && . /Users/martin/.nvm/nvm.sh # This loads NVM +export ANDROID_HOME=$HOME/Library/android/sdk/ +export PATH="$PATH:$HOME/Library/android/sdk/tools:$HOME/Library/android/sdk/platform-tools:" +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion ## # Your previous /Users/martin/.bash_profile file was backed up as /Users/martin/.bash_profile.macports-saved_2016-05-04_at_13:31:48 diff --git a/shell_dotfiles/screenrc b/shell_dotfiles/screenrc deleted file mode 100644 index 87a121c..0000000 --- a/shell_dotfiles/screenrc +++ /dev/null @@ -1,31 +0,0 @@ -altscreen on -autodetach on -defbce on -deflogin on - -vbell off -vbell_msg "" -bell_msg "!!! Ding !!!" - -termcapinfo xterm|xterms|xs|rxvt ti@:te@ -terminfo xterm|xterms|xs|rxvt ti@:te@: -term screen-256color - -#caption always "%{= kc}%H (system load: %l)%-21=%{= .m}%D %d.%m.%Y %0c" -defscrollback 2048 -startup_message off -hardstatus on -hardstatus alwayslastline -hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m-%d %{W}%c %{g}]' - -bind ' ' windowlist -b -bind ',' prev -bind '.' next - -#let pgup/pgdn scroll under urxvt (see .Xdefaults) -bindkey "^[[5;2~" eval "copy" "stuff ^u" -bindkey -m "^[[5;2~" stuff ^u -bindkey -m "^[[6;2~" stuff ^d - -#select 1 -