From f8803b18e76816f0d52abb473a39dc49e539ffa5 Mon Sep 17 00:00:00 2001 From: willipink Date: Tue, 19 May 2020 07:50:39 +0000 Subject: [PATCH] fix update script --- update | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/update b/update index c58c8aa..92693f5 100755 --- a/update +++ b/update @@ -1,11 +1,11 @@ #!/bin/bash echo "cloning ..." -#git pull origin master +git pull origin master echo "collecting static files ..." cd /home/willipink/coinmanager/coinmanager -sudo -u willipink /home/willipink/.local/bin/pipenv run manage.py collectstatic --settings coinmanager.settings_prod +pipenv run python manage.py collectstatic --settings coinmanager.production_settings --no-input echo "restarting apache ..." -#systemctl restart apache2 +sudo systemctl restart apache2