don't create log dir

This commit is contained in:
Konstantin Zamyakin 2018-10-31 15:40:00 +03:00
parent b68cb58388
commit 32de112d97
2 changed files with 0 additions and 8 deletions

View File

@ -22,11 +22,6 @@ case "$1" in
then
echo "Filter rules could not be downloaded."
fi
# Link logs dir (Required for request logs)
ln -s /var/log/<%= project %> /opt/<%= project %>/logs
chown -R <%= user %>: /opt/<%= project %>
;;
*)
echo "postinst called with unknown argument \`$1'" >&2

View File

@ -1,6 +1,3 @@
#!/bin/bash
set -e -x -o pipefail
echo "executing $0"
# Unlink logs dir
rm -rf /opt/<%= project %>/logs