From b003b5e697d2e24b1c016cf17c56367541f9a63e Mon Sep 17 00:00:00 2001 From: Yaroslav Nakonechnikov Date: Wed, 10 Jan 2018 17:18:26 +0300 Subject: [PATCH] add pidfile to service --- conf/uwsgi_service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/uwsgi_service b/conf/uwsgi_service index d5fabe9..a609fe2 100644 --- a/conf/uwsgi_service +++ b/conf/uwsgi_service @@ -10,7 +10,8 @@ RemainAfterExit=yes WorkingDirectory=__FINALPATH__ ExecStart=/usr/bin/uwsgi \ --ini __FINALPATH__/uwsgi.ini \ - --socket __FINALPATH__/socket + --socket __FINALPATH__/socket \ + --pidfile __FINALPATH__/weblate.pid Restart=always StandardError=syslog