Commit d52db441 authored by Yuanle Song's avatar Yuanle Song
Browse files

v0.9.5 in after-install.sh set default run-as user

to www-data, that is what I use in upstart config file.
parent 81d94b3b
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
(defproject python/lein-template "0.9.4"
(defproject python/lein-template "0.9.5"
  :description "lein template for a python project"
  :repositories [["snapshots"
                  {:url "http://devserv.game.yy.com/nexus/content/repositories/snapshots"
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ set -e

PREFIX=${PREFIX:-/opt/{{name}}}
LOGDIR=${LOGDIR:-/var/log/{{name}}}
RUN_AS_USER=root
RUN_AS_USER=www-data

mkdir -p "$LOGDIR"
# touch /data2/log/{{name}}/uwsgi.touch