From 32de112d971840ba7da130a203a1ba453c9b1166 Mon Sep 17 00:00:00 2001 From: Konstantin Zamyakin Date: Wed, 31 Oct 2018 15:40:00 +0300 Subject: [PATCH] don't create log dir --- postinstall.sh | 5 ----- postrm.sh | 3 --- 2 files changed, 8 deletions(-) diff --git a/postinstall.sh b/postinstall.sh index aa5324a..41785b6 100644 --- a/postinstall.sh +++ b/postinstall.sh @@ -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 diff --git a/postrm.sh b/postrm.sh index bd6cdfe..061ecaa 100644 --- a/postrm.sh +++ b/postrm.sh @@ -1,6 +1,3 @@ #!/bin/bash set -e -x -o pipefail echo "executing $0" - -# Unlink logs dir -rm -rf /opt/<%= project %>/logs