intranet2: sort pidfile de ./gunicorn/

Ça conflicte avec le paquet debian qui a son logrotate perso.
This commit is contained in:
Daniel STAN 2015-07-13 09:13:54 +02:00
parent 0be5b3e217
commit 5e17e201cf
2 changed files with 1 additions and 2 deletions

View file

@ -93,7 +93,6 @@ service('intranet2-service',
name="intranet2",
start_cmd = "/usr/sbin/service intranet2 start",
stop_cmd = "/usr/sbin/service intranet2 stop",
pidp='/run/gunicorn/intranet2.pid',
)
if has('gunicorn'):

View file

@ -26,7 +26,7 @@ User=root
Group=root
PIDFile=/run/gunicorn/intranet2.pid
WorkingDirectory=/usr/local/django/intranet/
ExecStart=/usr/bin/gunicorn wsgi:application --pid=/run/gunicorn/intranet2.pid --name www-data --user www-data --group www-data --daemon --log-file /var/log/gunicorn/intranet2.log --log-level=info --bind=unix:///tmp/gunicorn-intranet.sock --workers=1
ExecStart=/usr/bin/gunicorn wsgi:application --pid=/run/intranet2.pid --name www-data --user www-data --group www-data --daemon --log-file /var/log/gunicorn/intranet2.log --log-level=info --bind=unix:///tmp/gunicorn-intranet.sock --workers=1
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s TERM $MAINPID
Restart=on-failure