intranet2: sort pidfile de ./gunicorn/
Ça conflicte avec le paquet debian qui a son logrotate perso.
This commit is contained in:
parent
0be5b3e217
commit
5e17e201cf
2 changed files with 1 additions and 2 deletions
|
@ -93,7 +93,6 @@ service('intranet2-service',
|
||||||
name="intranet2",
|
name="intranet2",
|
||||||
start_cmd = "/usr/sbin/service intranet2 start",
|
start_cmd = "/usr/sbin/service intranet2 start",
|
||||||
stop_cmd = "/usr/sbin/service intranet2 stop",
|
stop_cmd = "/usr/sbin/service intranet2 stop",
|
||||||
pidp='/run/gunicorn/intranet2.pid',
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if has('gunicorn'):
|
if has('gunicorn'):
|
||||||
|
|
|
@ -26,7 +26,7 @@ User=root
|
||||||
Group=root
|
Group=root
|
||||||
PIDFile=/run/gunicorn/intranet2.pid
|
PIDFile=/run/gunicorn/intranet2.pid
|
||||||
WorkingDirectory=/usr/local/django/intranet/
|
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
|
ExecReload=/bin/kill -s HUP $MAINPID
|
||||||
ExecStop=/bin/kill -s TERM $MAINPID
|
ExecStop=/bin/kill -s TERM $MAINPID
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue