Loading project.clj +1 −1 Original line number Diff line number Diff line (defproject python/lein-template "0.5.3" (defproject python/lein-template "0.5.4" :description "lein template for a python project" :repositories [["snapshots" {:url "http://devserv.game.yy.com/nexus/content/repositories/snapshots" Loading src/leiningen/new/python/conf/uwsgi.ini +3 −0 Original line number Diff line number Diff line Loading @@ -18,3 +18,6 @@ pidfile=/tmp/{{name}}.pid # double % is required for this to work. log-date=%%a, %%d %%b %%Y %%T %%z logto=/data2/log/{{name}}/uwsgi.log touch-logreopen=/data2/log/{{name}}/uwsgi.touch buffer-size=32768 src/leiningen/new/python/deb-scripts/after-install.sh +1 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ LOGDIR=${LOGDIR:-/data2/log/{{name}}} RUN_AS_USER=root mkdir -p "$LOGDIR" # touch /data2/log/{{name}}/uwsgi.touch if [ "$RUN_AS_USER" != root ]; then chown -R "$RUN_AS_USER":"$RUN_AS_USER" "$LOGDIR" fi Loading Loading
project.clj +1 −1 Original line number Diff line number Diff line (defproject python/lein-template "0.5.3" (defproject python/lein-template "0.5.4" :description "lein template for a python project" :repositories [["snapshots" {:url "http://devserv.game.yy.com/nexus/content/repositories/snapshots" Loading
src/leiningen/new/python/conf/uwsgi.ini +3 −0 Original line number Diff line number Diff line Loading @@ -18,3 +18,6 @@ pidfile=/tmp/{{name}}.pid # double % is required for this to work. log-date=%%a, %%d %%b %%Y %%T %%z logto=/data2/log/{{name}}/uwsgi.log touch-logreopen=/data2/log/{{name}}/uwsgi.touch buffer-size=32768
src/leiningen/new/python/deb-scripts/after-install.sh +1 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ LOGDIR=${LOGDIR:-/data2/log/{{name}}} RUN_AS_USER=root mkdir -p "$LOGDIR" # touch /data2/log/{{name}}/uwsgi.touch if [ "$RUN_AS_USER" != root ]; then chown -R "$RUN_AS_USER":"$RUN_AS_USER" "$LOGDIR" fi Loading