diff --git a/.gitignore b/.gitignore index 1528a6e..ab1a585 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ config.json __pycache__ +venv/ diff --git a/twitfix.ini b/twitfix.ini index 199a452..1ff8f28 100644 --- a/twitfix.ini +++ b/twitfix.ini @@ -4,8 +4,8 @@ module = wsgi:app master = true processes = 5 -socket = twitfix.sock +socket = /tmp/twitfix.sock chmod-socket = 660 vacuum = true -die-on-term = true \ No newline at end of file +die-on-term = true diff --git a/twitfix.service b/twitfix.service index 91905ec..80e99a9 100644 --- a/twitfix.service +++ b/twitfix.service @@ -3,11 +3,11 @@ Description=Init file for twitfix uwsgi instance After=network.target [Service] -User=robin -Group=robin -WorkingDirectory=/home/robin/twitfix -Environment="PATH=/home/robin/twitfix/twitfixenv/bin" -ExecStart=/home/robin/twitfix/twitfixenv/bin/uwsgi --ini twitfix.ini +User=dylan +Group=dylan +WorkingDirectory=/home/dylan/BetterTwitFix +Environment="PATH=/home/dylan/BetterTwitFix/venv/bin" +ExecStart=/home/dylan/BetterTwitFix/venv/bin/uwsgi --ini twitfix.ini [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target