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

v0.5.2 bugfix: remove touch-logreopen config;

also add comment about logrotate.conf in after-install.sh
parent 31065c55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
(defproject python/lein-template "0.5.1"
(defproject python/lein-template "0.5.2"
  :description "lein template for a python project"
  :repositories [["snapshots"
                  {:url "http://devserv.game.yy.com/nexus/content/repositories/snapshots"
+0 −1
Original line number Diff line number Diff line
@@ -18,4 +18,3 @@ 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.log
+4 −0
Original line number Diff line number Diff line
@@ -14,6 +14,10 @@ cd "$PREFIX"
make bootstrap install

# install crontab, upstart job, nginx site file, logrotate config etc

# if you enable logrotate.conf, remember to choose a good rotate interval and
# set how many copies to keep.

# install "$PREFIX/conf/logrotate.conf" /etc/logrotate.d/{{name}}
# install "$PREFIX/conf/{{name}}.upstart" /etc/init/{{name}}.conf
# start {{name}} || true