diff --git a/project.clj b/project.clj index fd315383296e1c51317dd11d1d43749d1b6f3c3a..eabe9aca9ef1589e4184c4a545943e8f77821a57 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject python/lein-template "1.3.0" +(defproject python/lein-template "1.3.1" :description "lein template for a python project" :repositories [["snapshots" {:url "http://devserv.game.yy.com/nexus/content/repositories/snapshots" diff --git a/src/leiningen/new/python/deb-scripts/after-install.sh b/src/leiningen/new/python/deb-scripts/after-install.sh index a189d69460dd91fd54d27e829ff88154af774217..224d7c50eed174fa9d30a12bea91e752d2409899 100644 --- a/src/leiningen/new/python/deb-scripts/after-install.sh +++ b/src/leiningen/new/python/deb-scripts/after-install.sh @@ -20,9 +20,9 @@ make bootstrap # 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/web.upstart" /etc/init/{{name}}.conf -# install "$PREFIX/conf/web.service" /etc/systemd/system/{{name}}.service +# install -m 644 "$PREFIX/conf/logrotate.conf" /etc/logrotate.d/{{name}} +# install -m 644 "$PREFIX/conf/web.upstart" /etc/init/{{name}}.conf +# install -m 644 "$PREFIX/conf/web.service" /etc/systemd/system/{{name}}.service # service {{name}} start || true # SITE_FILE=/etc/nginx/conf.d/{{name}}.conf