Loading project.clj +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" Loading src/leiningen/new/python/conf/uwsgi.ini +0 −1 Original line number Diff line number Diff line Loading @@ -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 src/leiningen/new/python/deb-scripts/after-install.sh +4 −0 Original line number Diff line number Diff line Loading @@ -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 Loading Loading
project.clj +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" Loading
src/leiningen/new/python/conf/uwsgi.ini +0 −1 Original line number Diff line number Diff line Loading @@ -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
src/leiningen/new/python/deb-scripts/after-install.sh +4 −0 Original line number Diff line number Diff line Loading @@ -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 Loading