Skip to content

Commit

Permalink
#38
Browse files Browse the repository at this point in the history
  • Loading branch information
左文建 committed Dec 1, 2018
1 parent bc482d5 commit 3545835
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions demo/rgdemo.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
abs_path() { odir=`pwd`; cd `dirname $1`; pwd; cd "${odir}"; }
MYDIR=`abs_path "$0"`
cd $MYDIR

rg conf -e dev -s test
rg start
rg info
15 changes: 15 additions & 0 deletions src/etc/mac.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

from setting import rgenv

def rgenv_enable() :
rgenv['PHP_BIN'] = ""
rgenv['PHP_FPM'] = ""
rgenv['PHP_INI'] = ""
rgenv['VARNISHD'] = ""
rgenv['VARNISHADM'] = ""
rgenv['RG_DEVPATH'] = ""
rgenv['ZDAEMON'] = ""
rgenv['BEANSTALKD'] = ""
rgenv['NGINX_CONF'] = ""
rgenv['NGINX_BIN'] = ""

0 comments on commit 3545835

Please sign in to comment.