From 960309a8ea10b9ee9b4afbd94dc002b196497ddf Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 12 Feb 2013 13:28:12 +0530 Subject: [PATCH] really fix name --- etc/init/pdfvideo.conf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/etc/init/pdfvideo.conf b/etc/init/pdfvideo.conf index 9115d71..4e5a16f 100644 --- a/etc/init/pdfvideo.conf +++ b/etc/init/pdfvideo.conf @@ -1,21 +1,21 @@ -# pdfview gunicorn daemon +# pdfvideo gunicorn daemon # -description "pdfview daemon" +description "pdfvideo daemon" start on runlevel [2345] stop on runlevel [!2345] kill timeout 5 respawn -env NAME=pdfview -env VENV=/srv/pdfview -env DAEMON_USER=pdfview -env HOME=/home/pdfview +env NAME=pdfvideo +env VENV=/srv/pdfvideo +env DAEMON_USER=pdfvideo +env HOME=/home/pdfvideo script -test -e /var/log/$NAME || (mkdir -p /var/log/pdfview && chown $DAEMON_USER:$DAEMON_USER /var/log/$NAME) -cd $VENV/pdfview +test -e /var/log/$NAME || (mkdir -p /var/log/pdfvideo && chown $DAEMON_USER:$DAEMON_USER /var/log/$NAME) +cd $VENV/pdfvideo exec /usr/bin/sudo -u $DAEMON_USER $VENV/bin/gunicorn_django \ --bind 127.0.0.1:2688 \ --timeout 90 \