summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index 0005cd2..7c1deeb 100755
--- a/install.sh
+++ b/install.sh
@@ -32,9 +32,11 @@ DB_NAME=commonnet
echo " * Creating conf files"
mkdir -p /var/log/django/
+mkdir -p /var/log/scrapy/
mkdir -p /var/lib/uwsgi/run
chown -R www-data:www-data /var/lib/uwsgi/run
chown -R www-data:www-data /var/log/django/
+cp conf/scrapy.logrotate /etc/logrotate.d/scrapy
sed -s "s|#URL#|$URL|g;s|#PASSWORD#|$PASSWORD|g;\
s|RESPONSIBLE_EMAIL = None|RESPONSIBLE_EMAIL = '$RESPONSIBLE_EMAIL'|;" \